<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Feb 4, 2014 at 6:42 AM, Danny <span dir="ltr"><<a href="mailto:danny.smit.0@gmail.com" target="_blank">danny.smit.0@gmail.com</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"><div dir="ltr"><br>Hello,<br><br>I'm using the default openbox (on gdm) on CentOS 6.5 and are working on an application (based on Qt 5.1.1) which tries to set one of its windows to the background. The application uses the Qt API to achieve this. This should result in the windows manager flag _NET_WM_STATE_BELOW to be applied to the window. It seems that openbox doesn't react on this window manager flag.<br>


<br>To come up with a simple test case, I tried the same with the Qt example "windowsflags". This results in the same behavior, the window doesn't seem to be kept below when the application asks for it.<br>

<br>
Additionally testing shows that this also aplies to Openbox 1.5.2, which is manually compiled from the sources.<br><br>Furthermore, when using the openbox configure to set the specific window to the lowest layer, it does seem to work as expected, as long as the application itself doesn't ask to keep the window in the lowest layer.<br>


<br>Another weird side effect is that the application is able to keep one window on top. However this doesn't work anymore if the same application also asks to keep another window below.<br><br>Could this be a bug in openbox? Are there any suggestions how to proceed with this issue?<br>

</div></blockquote><div><br></div><p style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium">To change the state of a mapped window, a Client MUST send a _NET_WM_STATE client message to the root window:</p>

<pre class="" style="color:rgb(0,0,0)">  window  = the respective client window
  message_type = _NET_WM_STATE
  format = 32
  data.l[0] = the action, as listed below
  data.l[1] = first property to alter
  data.l[2] = second property to alter
  data.l[3] = source indication </pre><div><span style="color:rgb(0,0,0)">  other data.l[] elements = 0</span></div><div><br></div><div>via <a href="http://standards.freedesktop.org/wm-spec/1.3/ar01s05.html">http://standards.freedesktop.org/wm-spec/1.3/ar01s05.html</a> </div>

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