Change window type to DOCK (fixes placement on kde and bspwm, issue 537; breaks issue 455)
This commit is contained in:
@@ -576,8 +576,7 @@ void set_panel_properties(Panel *p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Dock
|
// Dock
|
||||||
long val = (!panel_dock && panel_layer == NORMAL_LAYER) ? server.atom._NET_WM_WINDOW_TYPE_SPLASH
|
long val = server.atom._NET_WM_WINDOW_TYPE_DOCK;
|
||||||
: server.atom._NET_WM_WINDOW_TYPE_DOCK;
|
|
||||||
XChangeProperty(server.dsp,
|
XChangeProperty(server.dsp,
|
||||||
p->main_win,
|
p->main_win,
|
||||||
server.atom._NET_WM_WINDOW_TYPE,
|
server.atom._NET_WM_WINDOW_TYPE,
|
||||||
|
|||||||
Reference in New Issue
Block a user