[Xfce4-commits] <xfce4-panel:master> Make the panels sticky for some window managers (bug #7130).
Nick Schermer
noreply at xfce.org
Tue Jan 18 11:38:01 CET 2011
Updating branch refs/heads/master
to e43a35fe1422572a300c7c06e3867a913605ea30 (commit)
from 95b0153375a3e898adb369d3f266135cb90cc982 (commit)
commit e43a35fe1422572a300c7c06e3867a913605ea30
Author: Nick Schermer <nick at xfce.org>
Date: Tue Jan 18 11:31:52 2011 +0100
Make the panels sticky for some window managers (bug #7130).
panel/panel-base-window.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/panel/panel-base-window.c b/panel/panel-base-window.c
index 9a0f3fe..1da04a2 100644
--- a/panel/panel-base-window.c
+++ b/panel/panel-base-window.c
@@ -206,6 +206,10 @@ panel_base_window_init (PanelBaseWindow *window)
window->priv->borders = PANEL_BORDER_NONE;
window->priv->active_timeout_id = 0;
+ /* some wm require stick to show the window on all workspaces, on xfwm4
+ * the type-hint already takes care of that */
+ gtk_window_stick (GTK_WINDOW (window));
+
panel_base_window_composited_changed (GTK_WIDGET (window));
}
More information about the Xfce4-commits
mailing list