Re: _NET_WM_STATE_BELOW doesn't work when set by an application
Dana Jansens <[email protected]>
| Newsgroups | gmane.comp.window-managers.openbox |
|---|---|
| Message-ID | <CAP1a_acEtgaDdNpbRtdMZ5u6UBeb45R7S+Zv628=DW0b=4_2GQ@mail.gmail.com> |
On Wed, Feb 5, 2014 at 5:01 PM, R. Mattes <[email protected]> wrote: > On Wed, 5 Feb 2014 16:31:25 -0500, Andrew Gallant wrote > > [ ... nice explanation snipped ... ] > > This advice should translate to, "OK, I need to find a Qt function > > that sends a client message to _NET_WM_STATE and NOT a function that > > just changes the property." > > But that missses the point: the OP uses Qt, and that is a multi-platform > toolkit. A Qt programmer is not supposed to call xcb functions (or their > wrappers) directly. That's the job of the framework (setNetWmStates as > mentioned by the OP is a _private_ method). > > So the question remains: is this a bug in Qt or in OpenBox? Why does > the same code work in Gnome2? > wmctrl can be used to set the below state on windows. Using a command such as: $ wmctrl -ir 0x2600004 -b add,below or $ wmctrl -ir 0x2600004 -b toggle,below I am able to put a window in always-below mode and it has _NET_WM_STATE_BELOW added to its _NET_WM_STATE. So it is either a bug in Qt, or the application is using the wrong Qt method. I would expect the latter. _______________________________________________ openbox mailing list [email protected] http://icculus.org/mailman/listinfo/openbox