dwm-meillo

diff main.c @ 725:d99be681d502

handling WM_STATE seems to make DnD in gtk/qt apps working, well let's handle this in dwm as well
author Anselm R. Garbe <arg@suckless.org>
date Sun, 28 Jan 2007 20:29:41 +0100
parents 4ce65f61f01b
children 6283adb1fcf2
line diff
     1.1 --- a/main.c	Fri Jan 26 12:41:15 2007 +0100
     1.2 +++ b/main.c	Sun Jan 28 20:29:41 2007 +0100
     1.3 @@ -92,6 +92,7 @@
     1.4  	/* init atoms */
     1.5  	wmatom[WMProtocols] = XInternAtom(dpy, "WM_PROTOCOLS", False);
     1.6  	wmatom[WMDelete] = XInternAtom(dpy, "WM_DELETE_WINDOW", False);
     1.7 +	wmatom[WMState] = XInternAtom(dpy, "WM_STATE", False);
     1.8  	netatom[NetSupported] = XInternAtom(dpy, "_NET_SUPPORTED", False);
     1.9  	netatom[NetWMName] = XInternAtom(dpy, "_NET_WM_NAME", False);
    1.10  	XChangeProperty(dpy, root, netatom[NetSupported], XA_ATOM, 32,