diff options
author | Anselm R. Garbe <arg@suckless.org> | 2007-01-28 20:29:41 +0100 |
---|---|---|
committer | Anselm R. Garbe <arg@suckless.org> | 2007-01-28 20:29:41 +0100 |
commit | a5cb80b86cdedb8cd1f3a02de47f204bd174f649 (patch) | |
tree | 95ae3939b6ab82281ea076c34ffff73c662eacf5 /main.c | |
parent | 7e98db251e383674440d75dc42d98ab6eed79ac7 (diff) |
handling WM_STATE seems to make DnD in gtk/qt apps working, well let's handle this in dwm as well
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -92,6 +92,7 @@ setup(void) { /* init atoms */ wmatom[WMProtocols] = XInternAtom(dpy, "WM_PROTOCOLS", False); wmatom[WMDelete] = XInternAtom(dpy, "WM_DELETE_WINDOW", False); + wmatom[WMState] = XInternAtom(dpy, "WM_STATE", False); netatom[NetSupported] = XInternAtom(dpy, "_NET_SUPPORTED", False); netatom[NetWMName] = XInternAtom(dpy, "_NET_WM_NAME", False); XChangeProperty(dpy, root, netatom[NetSupported], XA_ATOM, 32, |