I actually did read about the the WM_HINTS window group in the ICCCM. To be more specific with my question, it is not compulsory for a client who creates multiple top-level windows to specify the window group hint - In that case I guess there is no way for the window manager to find out the top-level windows that "belong" to an application. Am I right?<br>
<br>-Bipin<br><br><div class="gmail_quote">On Tue, Dec 16, 2008 at 11:46 AM, Peter Harris <span dir="ltr"><<a href="mailto:peter.harris@opentext.com">peter.harris@opentext.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">Bipin George Mathew wrote:<br>
> I am writing a window manager and had a question regarding top-level<br>
> application windows.<br>
><br>
> If an application like GIMP creates multiple top-level windows (like the<br>
> toolbox, each image window etc) - is there a way for a window manager to<br>
> find out all the windows that belong to a particular application?<br>
<br>
</div></div>The ICCCM explains all:<br>
<a href="http://cgit.freedesktop.org/xorg/doc/xorg-docs/plain/hardcopy/ICCCM/icccm.PS.gz" target="_blank">http://cgit.freedesktop.org/xorg/doc/xorg-docs/plain/hardcopy/ICCCM/icccm.PS.gz</a><br>
<br>
Look at TRANSIENT_FOR and WM_HINTS->window_group, for example. You<br>
should read the entire ICCCM if you are implementing a window manager.<br>
<br>
It is also a good idea to read the Extended Window Manager spec:<br>
<a href="http://standards.freedesktop.org/wm-spec/latest/" target="_blank">http://standards.freedesktop.org/wm-spec/latest/</a><br>
<br>
Peter Harris<br>
<font color="#888888">--<br>
Open Text Connectivity Solutions Group<br>
Peter Harris <a href="http://www.opentext.com/connectivity" target="_blank">http://www.opentext.com/connectivity</a><br>
Research and Development Phone: +1 905 762 6001<br>
<a href="mailto:peter.harris@opentext.com">peter.harris@opentext.com</a> Toll Free: 1 877 359 4866<br>
</font></blockquote></div><br>