Change window type to DOCK (fixes placement on kde and bspwm, issue 537; breaks issue 455)

This commit is contained in:
o9000 2015-12-21 11:05:44 +01:00
parent 21bb019434
commit dd371c468c

View file

@ -576,8 +576,7 @@ void set_panel_properties(Panel *p)
}
// Dock
long val = (!panel_dock && panel_layer == NORMAL_LAYER) ? server.atom._NET_WM_WINDOW_TYPE_SPLASH
: server.atom._NET_WM_WINDOW_TYPE_DOCK;
long val = server.atom._NET_WM_WINDOW_TYPE_DOCK;
XChangeProperty(server.dsp,
p->main_win,
server.atom._NET_WM_WINDOW_TYPE,