Created
March 21, 2012 19:47
-
-
Save baskerville/2151982 to your computer and use it in GitHub Desktop.
Tint2 Patch to Avoid the Dock Window Type Being Applied to the Panel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- panel.c 2012-03-21 20:40:41.646064585 +0100 | |
+++ panel_nodock.c 2012-03-21 20:41:29.623473226 +0100 | |
@@ -426,11 +426,11 @@ | |
} | |
// Dock | |
- long val = 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); | |
+ /* long val = 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); */ | |
// Sticky and below other window | |
- val = ALLDESKTOP; | |
+ long val = ALLDESKTOP; | |
XChangeProperty (server.dsp, p->main_win, server.atom._NET_WM_DESKTOP, XA_CARDINAL, 32, PropModeReplace, (unsigned char *) &val, 1); | |
Atom state[4]; | |
state[0] = server.atom._NET_WM_STATE_SKIP_PAGER; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This patch leads to an unexpected side effect, so it probably doesn't worth it.