<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Feb 5, 2014 at 5:01 PM, R. Mattes <span dir="ltr"><<a href="mailto:rm@mh-freiburg.de" target="_blank" class="cremed">rm@mh-freiburg.de</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">On Wed, 5 Feb 2014 16:31:25 -0500, Andrew Gallant wrote<br>


> [ ... nice explanation snipped ... ]<br>
<div class="im">> This advice should translate to, "OK, I need to find a Qt function<br>
> that sends a client message to _NET_WM_STATE and NOT a function that<br>
> just changes the property."<br>
<br>
</div>But that missses the point: the OP uses Qt, and that is a multi-platform<br>
toolkit. A Qt programmer is not supposed to call xcb functions (or their<br>
wrappers) directly. That's the job of the framework (setNetWmStates as<br>
mentioned by the OP is a _private_ method).<br>
<br>
So the question remains: is this a bug in Qt or in OpenBox? Why does<br>
the same code work in Gnome2?<br></blockquote><div><br></div><div>wmctrl can be used to set the below state on windows. Using a command such as:</div><div><br></div><div>$ wmctrl -ir 0x2600004 -b add,below</div><div>or</div>

<div><div>$ wmctrl -ir 0x2600004 -b toggle,below</div></div><div><br></div><div>I am able to put a window in always-below mode and it has _NET_WM_STATE_BELOW added to its _NET_WM_STATE.<br></div><div><br></div><div>So it is either a bug in Qt, or the application is using the wrong Qt method. I would expect the latter.</div>

</div></div></div>