X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=main.c;fp=main.c;h=2140d897a106ad3699070df01c43c1fe173a64d0;hb=9e56e1ded6889335035c8ffbe2763d3d83978673;hp=d72f13db91d0d60feae6fc0571457e38068bcaf4;hpb=e4ad3205995865f53b806a912bc7beb44fb90598;p=dwm.git 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; 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 @@ setup(void) { 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);