diff options
author | Anselm R. Garbe <garbeam@gmail.com> | 2007-08-13 20:06:00 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@gmail.com> | 2007-08-13 20:06:00 +0200 |
commit | 9e56e1ded6889335035c8ffbe2763d3d83978673 (patch) | |
tree | 06e7392ce4c3056e2c28ba76452946089fd9cc6b /main.c | |
parent | e4ad3205995865f53b806a912bc7beb44fb90598 (diff) |
tags should be persistent now during X server run
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |