From a5cb80b86cdedb8cd1f3a02de47f204bd174f649 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Sun, 28 Jan 2007 20:29:41 +0100 Subject: handling WM_STATE seems to make DnD in gtk/qt apps working, well let's handle this in dwm as well --- main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'main.c') diff --git a/main.c b/main.c index 9cffafe..97fdbaf 100644 --- a/main.c +++ b/main.c @@ -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, -- cgit 1.4.1-2-gfad0