<div dir="ltr">You can use SubstructureNotifyMask on the root window and look for the ConfigureNotify/MapNotify events, and look at what size an application requests, I'm not sure what Warzone2100 does, but if it uses the standard extended window manager hints, you can also subscribe to PropertyNotify and look out for changes to _NET_WM_STATE to see if it changes to _NET_WM_STATE_FULLSCREEN.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 8, 2013 at 7:25 PM, Aaron Lewis <span dir="ltr"><<a href="mailto:the.warl0ck.1989@gmail.com" target="_blank">the.warl0ck.1989@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I want to know when there's a fullscreen got started, can I get a<br>
signal from Xorg? (Like warzone2100 etc.)<br>
<br>
If so, can anyone provide me an example of code please?<br>
<br>
Thanks!<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Best Regards,<br>
Aaron Lewis - PGP: 0xDFE6C29E ( <a href="http://keyserver.veridis.com" target="_blank">http://keyserver.veridis.com</a> )<br>
Finger Print: 9482 448F C7C3 896C 1DFE 7DD3 2492 A7D0 DFE6 C29E<br>
_______________________________________________<br>
<a href="mailto:xorg-devel@lists.x.org">xorg-devel@lists.x.org</a>: X.Org development<br>
Archives: <a href="http://lists.x.org/archives/xorg-devel" target="_blank">http://lists.x.org/archives/xorg-devel</a><br>
Info: <a href="http://lists.x.org/mailman/listinfo/xorg-devel" target="_blank">http://lists.x.org/mailman/listinfo/xorg-devel</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br> Jasper<br>
</div>