diff --git a/src/panel.c b/src/panel.c index b136ff3..68241c4 100644 --- a/src/panel.c +++ b/src/panel.c @@ -426,7 +426,7 @@ void set_panel_properties(Panel *p) } // Dock - long val = server.atom._NET_WM_WINDOW_TYPE_DOCK; + long val = panel_dock ? server.atom._NET_WM_WINDOW_TYPE_DOCK : server.atom._NET_WM_WINDOW_TYPE_NORMAL; XChangeProperty (server.dsp, p->main_win, server.atom._NET_WM_WINDOW_TYPE, XA_ATOM, 32, PropModeReplace, (unsigned char *) &val, 1); // Sticky and below other window