axing long gdk event queues



I have a program that requires catching SUBSTRUCTURE events off the root
window, so I've created a gdkwindow and attached a filter to it. This
works, but as you can imagine I get LOTS of these events which slows
things down, and I only really need the last one. Can someone tell me
how to discard all the pending events? gdk_event_peak() and
gdk_event_free didn't seem to do me any good.

-- 
Harold



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