tunfocus on slow sloppy monitor focus - dwm - [fork] customized build of dwm, t… | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 54c3044decc9848ba18c137dd3558dc8bdf71f34 | |
parent 51336aa4a38e82cc796edce790a989298e817a5a | |
Author: Connor Lane Smith <[email protected]> | |
Date: Fri, 10 Feb 2012 00:36:08 +0000 | |
unfocus on slow sloppy monitor focus | |
Diffstat: | |
M dwm.c | 1 + | |
1 file changed, 1 insertion(+), 0 deletions(-) | |
--- | |
diff --git a/dwm.c b/dwm.c | |
t@@ -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); | |
} |