Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
added kludge to fix some input focus misbehavior in gedit and anjuta, thanks Martti...
[dwm.git]
/
dwm.c
diff --git
a/dwm.c
b/dwm.c
index
9702063
..
90505b1
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);
}