]> git.armaanb.net Git - dwm.git/commitdiff
added kludge to fix some input focus misbehavior in gedit and anjuta, thanks Martti...
authoranselm@garbe.us <unknown>
Sun, 15 Apr 2012 09:41:18 +0000 (11:41 +0200)
committeranselm@garbe.us <unknown>
Sun, 15 Apr 2012 09:41:18 +0000 (11:41 +0200)
dwm.c

diff --git a/dwm.c b/dwm.c
index 9702063616fbdaf0bcf86ab1f076cfe1a8157e8e..90505b10aa2a434128059e419068f4eb87538880 100644 (file)
--- a/dwm.c
+++ b/dwm.c
@@ -884,7 +884,8 @@ focusmon(const Arg *arg) {
                return;
        if((m = dirtomon(arg->i)) == selmon)
                return;
-       unfocus(selmon->sel, True);
+       unfocus(selmon->sel, False); /* s/True/False/ fixes input focus issues
+                                       in gedit and anjuta */
        selmon = m;
        focus(NULL);
 }