[compiz] 'On Top' grayed out

Elijah Newren newren at gmail.com
Tue Oct 10 15:50:17 PDT 2006


On 10/10/06, David Reveman <davidr at novell.com> wrote:
> It's a bug in libwnck. For some reason it always assumes that
> the window manager doesn't support the above window state when
> _NET_WM_ALLOWED_ACTIONS is set.

Actually, it's more of a bug in the EWMH than in libwnck.  The EWMH
doesn't have a _NET_WM_ACTION_ABOVE, despite having so many other
_NET_WM_ACTION_* abilities, so there's no way to advertise support for
it.  The only reason that the "on top" ability shows in the
right-click window for tasklist items when metacity is the window
manager, is because of a bug in metacity that causes
_NET_WM_ALLOWED_ACTIONS to not be set on any "normal" windows.
Combined with the fact that libwnck just takes a random guess at the
provided abilities when this property is not set and you find that we
have a cancellation of bugs that falsely gives the impression that
things are working correctly for metacity+libwnck.

We should push _NET_WM_ACTION_ABOVE on wm-spec-list and then get
libwnck and compiz to support it (and metacity, but that's not
relevant on this list; besides, metacity needs a lot more work than
just this with the allowed actions stuff).

Cheers,
Elijah


More information about the compiz mailing list