expose event following button press/release event

Hi Guys,

Why there is always one expose-event after the button-press-event(and button-release-event)? that means my app redraw itself twice for one button event, which made the app UI flickers, any clues for settling the problem?

My env is as follows:
1, embedded linux system
2, gtk+ running on directfb
3, gtk+-2.16.0 is used

Thanks in Advance,

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]