[Lazarus] window classes according to WM

Martin Schreiber mse00000 at gmail.com
Tue Sep 13 06:31:10 CEST 2011


Am 13.09.2011 02:59, schrieb David Emerson:

> What is the property that determines the window class, as seen by the WM / xorg?
>
> I'm asking for the purpose of grouping: I'd like to be able to have distinct
> groups of windows that the WM will group independently of one another.
>
> As an example, looking at the easter/holydays example, if I use KDE3's edit
> window-specific settings dialog I can detect window properties. It shows me
>
> Class: Holyday (holyday Holyday)
>
> and some other stuff. My assumption is that the class is used by the WM to
> determine which windows are grouped together.
>
"Client to Window Manager Commmunication" is documented here:
http://tronche.com/gui/x/icccm/sec-4.html

MSEgui additionally uses the WM_CLIENT_LEADER property, see 
lib/common/i386-linux/mseguiintf.pas, gui_createwindow().

Martin




More information about the Lazarus mailing list