Re: [Tracker] work items for 0.6.5




On Mon, 2008-02-04 at 19:13 -0500, Jamie McCracken wrote:
On Mon, 2008-02-04 at 19:08 +0800, Halton Huo wrote:
Jamie,

For 1), any idea to get all events for all windows? I'm trying to use
gdk_window_add_filter (NULL, (GdkFilterFunc)xevent_filter, main_icon),
seems only events for the icon are be accepted. 

Any clue?

have a look at:
http://svn.gnome.org/viewvc/gnome-screensaver/trunk/src/gs-watcher-x11.c?view=markup

they seem to keep a list of all windows and listen for events on them -
we should be able to do the same 


Ive managed to figure it out by copying code from that link

will patch it in shortly once I have tuned it 

jamie






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