GNOME Bugzilla – Bug 87753
No way to set a window as "always on top"
Last modified: 2004-12-22 21:47:04 UTC
I looked at xmms code to see how to set a window "always on top", it is very complicated. I would like a gtk_window_set_always_on_top(GtkWindow *window, gboolean always), or something similar. The app is a drop area, and also contains information. Not a gnome applet -> It can be moved at any pos. Not a dnd issue -> it must be _always_ on top, no just when the user drags something. Thanks.
It is a mistake to design apps so that they expect their windows to be always on top. Better make your app react appropriately to being lowered. Adding gtk_window_set_always_on_top would just invite more bad application design.
Create a gnome panel (floating type), add an applet to it. Isn't it always on top? I don't want to depend on gnome-panel. Do you mean I tell users they need gnome just to have an "applet" always on top? It is a 48x48 window where you can drag n drop urls, and shows you info. "Always on top" is an option (if I can get to implement it).
Depends on the window managers handling of the dock window type. Fullscreen windows will likely cover dock windows.
Yes, in fullscreen mode you don't want any app to "stay on top". What about a func to set a window at dock stack level? in fact I think this is what xmms does.
You want to use gtk_window_set_type_hint. Unfortunately, it doesn't yet support dock type; see bug 66719
*** This bug has been marked as a duplicate of 66719 ***