about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAnselm R Garbe <anselm@garbe.us>2009-06-22 18:13:05 +0100
committerAnselm R Garbe <anselm@garbe.us>2009-06-22 18:13:05 +0100
commitd53ceee68266b0910d632b1978d8fd6371ff52b3 (patch)
treebf39d05572a4ea578fdf99421376bdf039a6c495
parent78f56672b5164f2d8f7ecabc3be0a9bbe0ae98bf (diff)
downloaddwm-d53ceee68266b0910d632b1978d8fd6371ff52b3.tar.gz
hotfixes
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index afe8f18..7e4e177 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1408,6 +1408,7 @@ setup(void) {
 			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 @@ updatebars(void) {
 	Monitor *m;
 	XSetWindowAttributes wa;
 
-	wa.cursor = cursor[CurNormal];
 	wa.override_redirect = True;
 	wa.background_pixmap = ParentRelative;
 	wa.event_mask = ButtonPressMask|ExposureMask;