hotfixes
authorAnselm R Garbe <anselm@garbe.us>
Mon, 22 Jun 2009 18:13:05 +0100
changeset 1403 9bfeee8174c2
parent 1402 d0721df4028c
child 1404 2fd482e3405b
hotfixes
dwm.c
--- a/dwm.c	Mon Jun 22 14:58:08 2009 +0100
+++ b/dwm.c	Mon Jun 22 18:13:05 2009 +0100
@@ -1408,6 +1408,7 @@
 			PropModeReplace, (unsigned char *) netatom, NetLast);
 
 	/* select for events */
+	wa.cursor = cursor[CurNormal];
 	wa.event_mask = SubstructureRedirectMask|SubstructureNotifyMask|ButtonPressMask
 			|EnterWindowMask|LeaveWindowMask|StructureNotifyMask
 			|PropertyChangeMask;
@@ -1599,7 +1600,6 @@
 	Monitor *m;
 	XSetWindowAttributes wa;
 
-	wa.cursor = cursor[CurNormal];
 	wa.override_redirect = True;
 	wa.background_pixmap = ParentRelative;
 	wa.event_mask = ButtonPressMask|ExposureMask;