[compiz] 'On Top' grayed out

Guillaume ixcemix at gmail.com
Wed Oct 11 12:48:05 PDT 2006


Yep, official _NET_WM_ACTION_BELOW support would be really useful for
desklets/sticky windows (e.g. cairo-clock).

Regards,
Guillaume Seguin

2006/10/11, David Reveman <davidr at novell.com>:
> On Tue, 2006-10-10 at 16:50 -0600, Elijah Newren wrote:
> > 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).
>
> Yes, we should probably add _NET_WM_ACTION_BELOW too.
>
> -David
>
> _______________________________________________
> compiz mailing list
> compiz at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/compiz
>


More information about the compiz mailing list