Question regarding window manager hints

Olivier Fourdan fourdan at xfce.org
Tue Sep 3 23:45:57 CEST 2002


Hi Jasper,

> I want to be able to use a global option to choose if the panel stays
> ontop. Using _NET_WM_WINDOW_TYPE_DOCK works only partially: you can set
> it to stay on top, but removing it doesn't work. The hint must be set
> before mapping the window.

The window type cannot be changed once the window is mapped (that would
not make much sense IMO). Therefore, unmap the window, change the type
and remap the window, that should work.

Cheers,
-- 
Olivier               <fourdan at xfce.org>            http://www.xfce.org
-----------------------------------------------------------------------
XFce is a lightweight  desktop  environment  for  various *NIX systems. 
Designed for productivity,  it loads  and  executes  applications fast,
while conserving  system resources. XFce is all free software, released
under GNU General Public License.    Available from http://www.xfce.org




More information about the Xfce4-dev mailing list