Results 1 to 2 of 2
Thread: Event Handling
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Jun 2006
I had a similar problem when writing my own app, and here's some solutions I came up with:
1) Expose events have a count member; ignore all Expose events with a count higher than 0. (This was my temporary solution)
2) Expose events have members to specify the region of the window that needs to be redrawn; redraw only this part. (This is part of the solution I used)
3) Draw to back buffers (like Pixmaps or in my case, Imlib_Images) whenever needed (for me it was when the root pixmap changed) and render the buffer onto the window when needed (Expose event)Flies of a particular kind, i.e. time-flies, are fond of an arrow.
Registered Linux User #408794