projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51336aa
)
unfocus on slow sloppy monitor focus
author
Connor Lane Smith
<cls@lubutu.com>
Fri, 10 Feb 2012 00:36:08 +0000
(
00:36
+0000)
committer
Connor Lane Smith
<cls@lubutu.com>
Fri, 10 Feb 2012 00:36:08 +0000
(
00:36
+0000)
dwm.c
patch
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index d39f11fbdc7077a04881db7a4298037945100da3..2d444424b1347b12a6f764f5ff701ac249600c33 100644
(file)
--- 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);
}