<div dir="ltr">Great, thanx!<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 15, 2015 at 1:38 PM, Carsten Haitzler <span dir="ltr"><<a href="mailto:raster@rasterman.com" target="_blank">raster@rasterman.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, 15 May 2015 13:19:44 +0300 Yaron Cohen-Tal <<a href="mailto:yaronct@gmail.com">yaronct@gmail.com</a>> said:<br>
<br>
> Hi,<br>
><br>
> I'd like to be notified about "PropertyNotify" events of the root window,<br>
> for example to be notified when its "_NET_CURRENT_DESKTOP" property is<br>
> changed. As I didn't create the root window, I don't know how to be<br>
> notified of events related to it, of if it's at all possible.<br>
<br>
XSelectInput(disp, window_id, PropertyChangeMask);<br>
<br>
(and OR (|) to the propertychangemask whatever other events you want to listen<br>
to. window_id would be the root window id. disp is your Display * handle.<br>
<br>
> Thanx,<br>
> Yaron.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
------------- Codito, ergo sum - "I code, therefore I am" --------------<br>
The Rasterman (Carsten Haitzler)    <a href="mailto:raster@rasterman.com">raster@rasterman.com</a><br>
<br>
</font></span></blockquote></div><br></div>