[hackers] [dwm] unfocus on slow sloppy monitor focus || Connor Lane Smith
changeset: 1596:ad90e7fab364
tag: tip
user: Connor Lane Smith <cls_AT_lubutu.com>
date: Fri Feb 10 00:36:08 2012 +0000
files: dwm.c
description:
unfocus on slow sloppy monitor focus
diff -r a80071f71445 -r ad90e7fab364 dwm.c
--- a/dwm.c Wed Feb 08 19:54:05 2012 +0100
+++ b/dwm.c Fri Feb 10 00:36:08 2012 +0000
_AT_@ -1212,6 +1212,7 @@
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);
}
Received on Fri Feb 10 2012 - 01:36:10 CET
This archive was generated by hypermail 2.3.0
: Fri Feb 10 2012 - 01:48:06 CET