Browse Source

unfocus on slow sloppy monitor focus

Connor Lane Smith 13 years ago
parent
commit
54c3044dec
1 changed files with 1 additions and 0 deletions
  1. 1 0
      dwm.c

+ 1 - 0
dwm.c

@@ -1212,6 +1212,7 @@ motionnotify(XEvent *e) {
 	if(ev->window != root)
 		return;
 	if((m = recttomon(ev->x_root, ev->y_root, 1, 1)) != mon && mon) {
+		unfocus(selmon->sel, True);
 		selmon = m;
 		focus(NULL);
 	}