Re: gnome_win_hints_set_layer gone?



On Sat, Jan 04, 2003 at 10:35:46PM +0100, Jochen Voss wrote: 
> So, how should I set the window layer for a Gnome-2 program?

It doesn't really work the same way anymore, now there's a new window
manager spec that's used more widely than the old gnome one.
 http://www.freedesktop.org/standards/wm-spec/1.2/html/

It depends on your specific app and what it does. 
If possible, use one of the semantic window types 
(gtk_window_set_type_hint() or something like that)

If none of those apply and you want to "stay on bottom" or "stay on
top" you have to use Xlib right now, the hints from the WM spec are
_NET_WM_STATE_ABOVE/_NET_WM_STATE_BELOW.

Havoc





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]