On Wed, Sep 15, 2010 at 08:35:29AM +0200, Gilbert wrote:
>
> Note that all mine which need it get patched when building so that
> they properly identify themselves as DockApps instead of using the
> 'class' property which usually gets set to the app name.
What exactly does making this change do, though? As far as I can tell in
a quick grep through the source code, the only thing it does is use the
res_name instead of res_class when the res_class is "DockApp". Which is
effectively the same as the normal behavior in the common case where
res_name and res_class are the same.
That said, detecting res_class set to DockApp could be useful to avoid
issues with toolkits that refuse to let you set initial_state to
WithdrawnState,[1] although in my experience those issues seem to be more
with other window managers (e.g. openbox and fluxbox) that support
Window Maker-style dockapps than with wmaker itself.[2]
[1] For example, gtk+. See
https://bugzilla.gnome.org/show_bug.cgi?id=139322 and
https://bugzilla.gnome.org/show_bug.cgi?id=609202
[2] The only issue I've found with wmaker is that it causes "Kill"
option in the right-click menu to not work. In openbox and fluxbox,
it makes them refuse to pull the dockapp into their "slit" at all.
--
To unsubscribe, send mail to [email protected].