summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dwm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dwm.c b/dwm.c
index d39f11f..2d44442 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1212,6 +1212,7 @@ motionnotify(XEvent *e) {
1212 if(ev->window != root) 1212 if(ev->window != root)
1213 return; 1213 return;
1214 if((m = recttomon(ev->x_root, ev->y_root, 1, 1)) != mon && mon) { 1214 if((m = recttomon(ev->x_root, ev->y_root, 1, 1)) != mon && mon) {
1215 unfocus(selmon->sel, True);
1215 selmon = m; 1216 selmon = m;
1216 focus(NULL); 1217 focus(NULL);
1217 } 1218 }