summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index d72f13d..2140d89 100644
--- a/main.c
+++ b/main.c
@@ -19,7 +19,7 @@ int screen, sx, sy, sw, sh, wax, way, waw, wah;
19unsigned int bh, ntags; 19unsigned int bh, ntags;
20unsigned int bpos = BARPOS; 20unsigned int bpos = BARPOS;
21unsigned int numlockmask = 0; 21unsigned int numlockmask = 0;
22Atom wmatom[WMLast], netatom[NetLast]; 22Atom dwmtags, wmatom[WMLast], netatom[NetLast];
23Bool *seltag; 23Bool *seltag;
24Bool selscreen = True; 24Bool selscreen = True;
25Client *clients = NULL; 25Client *clients = NULL;
@@ -139,6 +139,7 @@ setup(void) {
139 XSetWindowAttributes wa; 139 XSetWindowAttributes wa;
140 140
141 /* init atoms */ 141 /* init atoms */
142 dwmtags = XInternAtom(dpy, "__DWM_TAGS", False);
142 wmatom[WMProtocols] = XInternAtom(dpy, "WM_PROTOCOLS", False); 143 wmatom[WMProtocols] = XInternAtom(dpy, "WM_PROTOCOLS", False);
143 wmatom[WMDelete] = XInternAtom(dpy, "WM_DELETE_WINDOW", False); 144 wmatom[WMDelete] = XInternAtom(dpy, "WM_DELETE_WINDOW", False);
144 wmatom[WMState] = XInternAtom(dpy, "WM_STATE", False); 145 wmatom[WMState] = XInternAtom(dpy, "WM_STATE", False);