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?
-Bipin On Tue, Dec 16, 2008 at 11:46 AM, Peter Harris <[email protected]>wrote: > Bipin George Mathew wrote: > > I am writing a window manager and had a question regarding top-level > > application windows. > > > > If an application like GIMP creates multiple top-level windows (like the > > toolbox, each image window etc) - is there a way for a window manager to > > find out all the windows that belong to a particular application? > > The ICCCM explains all: > > http://cgit.freedesktop.org/xorg/doc/xorg-docs/plain/hardcopy/ICCCM/icccm.PS.gz > > Look at TRANSIENT_FOR and WM_HINTS->window_group, for example. You > should read the entire ICCCM if you are implementing a window manager. > > It is also a good idea to read the Extended Window Manager spec: > http://standards.freedesktop.org/wm-spec/latest/ > > Peter Harris > -- > Open Text Connectivity Solutions Group > Peter Harris http://www.opentext.com/connectivity > Research and Development Phone: +1 905 762 6001 > [email protected] Toll Free: 1 877 359 4866 >
_______________________________________________ xorg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xorg
