all repos — tint2 @ b9508450b7f573e85c3ced43ab63e28c2fb242dc

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

panel: Use WINDOW_TYPE_SPLASH instead of DOCK if panel_layer=normal and panel_dock=0 otherwise it is impossible to get normal stacking
o9000 o9000
commit

b9508450b7f573e85c3ced43ab63e28c2fb242dc

parent

7384fd827037618ff7fadd776a5b8806fca0a3bd

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M src/panel.csrc/panel.c

@@ -524,7 +524,9 @@ g_free(name);

} // Dock - long val = panel_dock ? server.atom._NET_WM_WINDOW_TYPE_DOCK : server.atom._NET_WM_WINDOW_TYPE_SPLASH; + long val = (!panel_dock && panel_layer == NORMAL_LAYER) + ? server.atom._NET_WM_WINDOW_TYPE_SPLASH + : server.atom._NET_WM_WINDOW_TYPE_DOCK; XChangeProperty (server.dsp, p->main_win, server.atom._NET_WM_WINDOW_TYPE, XA_ATOM, 32, PropModeReplace, (unsigned char *) &val, 1); val = ALLDESKTOP;