[openbox] DockApp detection

Dana Jansens dana at orodu.net
Thu Sep 16 14:05:46 EDT 2010


Hey Brad,

On Thu, Sep 16, 2010 at 9:54 AM, Brad Jorsch
<anomie at users.sourceforge.net> wrote:
> As you may know, dockapps are detected by the WM_HINTS initial_state =
> WithdrawnState when the window is first mapped. And gtk+ doesn't allow
> this to be set, see https://bugzilla.gnome.org/show_bug.cgi?id=139322.
> In Window Maker, we recently decided to treat apps with the WM_CLASS
> res_class = "DockApp" as if they had initial_state = WithdrawnState to
> allow dockapp devs to create gtk+ dockapps without hacking around the
> toolkit. You might want to take the idea too.

I have one question about this: WM_CLASS can be set on a window's
"leader", Y, and this value would be used in place of the WM_CLASS
hint set on any other window X which sets a WM_CLIENT_LEADER to Y [1].

Does Window Maker use the leader's WM_CLASS hint to check for
"DockApp" when WM_CLIENT_LEADER is set?  It would be unpleasant to not
follow the same conventions.  But also, to not follow the convention
of the WM_CLASS property in this instance.

- Dana

[1] http://www.x.org/archive/X11R7.5/doc/man/man1/smproxy.1.html


More information about the openbox mailing list