Set GDK_WINDOW_TYPE_HINT_DOCK on panel or panels will hide on "show desktop" button.
authorAndriy Grytsenko <andrej@rep.kiev.ua>
Tue, 19 Aug 2014 22:56:16 +0000 (01:56 +0300)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Tue, 19 Aug 2014 22:56:16 +0000 (01:56 +0300)
src/panel.c

index 2c01edb..a08504f 100644 (file)
@@ -159,6 +159,7 @@ static void lxpanel_init(PanelToplevel *self)
     p->icon_size = PANEL_ICON_SIZE;
     p->icon_theme = gtk_icon_theme_get_default();
     p->config = config_new();
+    gtk_window_set_type_hint(GTK_WINDOW(self), GDK_WINDOW_TYPE_HINT_DOCK);
 }
 
 /* Allocate and initialize new Panel structure. */