commit b3668b59d447a4bfa87cf18f688d76c979dd399e
parent 5e526469cc6f8a0dc6f6f17c703c84b5237e1483
Author: lostd <lostd@2f30.org>
Date: Sun, 19 Apr 2015 16:04:14 +0300
Create dock hint event before the WM starts
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/xbattmon.c b/xbattmon.c
@@ -116,8 +116,8 @@ setup(void)
XStringListToTextProperty(&name, 1, &text);
XSetWMName(dpy, winbar, &text);
- wintype = XInternAtom(dpy, "_NET_WM_WINDOW_TYPE", True);
- wintype_dock = XInternAtom(dpy, "_NET_WM_WINDOW_TYPE_DOCK", True);
+ wintype = XInternAtom(dpy, "_NET_WM_WINDOW_TYPE", False);
+ wintype_dock = XInternAtom(dpy, "_NET_WM_WINDOW_TYPE_DOCK", False);
XChangeProperty(dpy, winbar, wintype, XA_ATOM, 32,
PropModeReplace, (unsigned char *)&wintype_dock, 1);