aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoranselm@garbe.us2012-04-15 11:41:18 +0200
committeranselm@garbe.us2012-04-15 11:41:18 +0200
commit9b2105e96f71ae81e25ee245520307641381a440 (patch)
tree2646da468abcd22d6df9d526dd8dd33931b71e7a
parent7c0e44053e5ebfe0168c9b3591aef637be2f35d5 (diff)
downloadaur-9b2105e96f71ae81e25ee245520307641381a440.tar.gz
added kludge to fix some input focus misbehavior in gedit and anjuta, thanks Martti Kühne
-rw-r--r--dwm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 9702063616fb..90505b10aa2a 100644
--- 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);
}