On Fri, 15 May 2015 13:19:44 +0300 Yaron Cohen-Tal <[email protected]> said:
> Hi, > > I'd like to be notified about "PropertyNotify" events of the root window, > for example to be notified when its "_NET_CURRENT_DESKTOP" property is > changed. As I didn't create the root window, I don't know how to be > notified of events related to it, of if it's at all possible. XSelectInput(disp, window_id, PropertyChangeMask); (and OR (|) to the propertychangemask whatever other events you want to listen to. window_id would be the root window id. disp is your Display * handle. > Thanx, > Yaron. -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [email protected] _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
