main.c
changeset 949 99ee5c370f94
parent 917 434e10a35d3c
child 953 d7de5c7bdbe4
--- a/main.c	Mon Aug 13 19:22:51 2007 +0200
+++ b/main.c	Mon Aug 13 20:06:00 2007 +0200
@@ -19,7 +19,7 @@
 unsigned int bh, ntags;
 unsigned int bpos = BARPOS;
 unsigned int numlockmask = 0;
-Atom wmatom[WMLast], netatom[NetLast];
+Atom dwmtags, wmatom[WMLast], netatom[NetLast];
 Bool *seltag;
 Bool selscreen = True;
 Client *clients = NULL;
@@ -139,6 +139,7 @@
 	XSetWindowAttributes wa;
 
 	/* init atoms */
+	dwmtags = XInternAtom(dpy, "__DWM_TAGS", False);
 	wmatom[WMProtocols] = XInternAtom(dpy, "WM_PROTOCOLS", False);
 	wmatom[WMDelete] = XInternAtom(dpy, "WM_DELETE_WINDOW", False);
 	wmatom[WMState] = XInternAtom(dpy, "WM_STATE", False);