diff options
author | Connor Lane Smith <cls@lubutu.com> | 2012-02-10 00:36:08 +0000 |
---|---|---|
committer | Connor Lane Smith <cls@lubutu.com> | 2012-02-10 00:36:08 +0000 |
commit | 54c3044decc9848ba18c137dd3558dc8bdf71f34 (patch) | |
tree | e24471ffbf25216c90ba3d53098d0629d47d9b0a /dwm.c | |
parent | 51336aa4a38e82cc796edce790a989298e817a5a (diff) | |
download | dwm-54c3044decc9848ba18c137dd3558dc8bdf71f34.tar.gz |
unfocus on slow sloppy monitor focus
Diffstat (limited to 'dwm.c')
-rw-r--r-- | dwm.c | 1 |
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) { 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); } |