Re: GdkEvent --> XEvent



Tor Lillqvist wrote:
Tristan Van Berkom writes:
 > Although I wonder if xlib will let me snoop the event queue in a
 > convenient way)

GDK lets you do that. Install a global GDK event filter. It's called
for each XEvent received.

Wow, I missed that:
http://developer.gnome.org/doc/API/2.0/gdk/gdk-Windows.html#gdk-window-add-filter

Thanks Tor :)

Cheers,
                          -Tristan



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