summaryrefslogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
authoranselm@garbe.us <unknown>2012-04-15 11:41:18 +0200
committeranselm@garbe.us <unknown>2012-04-15 11:41:18 +0200
commit90f3238301c85ffad459cb871d70ebea569ecbb3 (patch)
tree7327308761eb1946f8726791d5d7ccffd782b5f5 /dwm.c
parentapplied Andreas Amanns' netwm_client_list patch, but with some indentation fixes (diff)
downloaddwm-90f3238301c85ffad459cb871d70ebea569ecbb3.tar.gz
dwm-90f3238301c85ffad459cb871d70ebea569ecbb3.zip
added kludge to fix some input focus misbehavior in gedit and anjuta, thanks Martti Kühne
Diffstat (limited to '')
-rw-r--r--dwm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 9702063..90505b1 100644
--- a/dwm.c
+++ b/dwm.c
@@ -884,7 +884,8 @@ focusmon(const Arg *arg) {
884 return; 884 return;
885 if((m = dirtomon(arg->i)) == selmon) 885 if((m = dirtomon(arg->i)) == selmon)
886 return; 886 return;
887 unfocus(selmon->sel, True); 887 unfocus(selmon->sel, False); /* s/True/False/ fixes input focus issues
888 in gedit and anjuta */
888 selmon = m; 889 selmon = m;
889 focus(NULL); 890 focus(NULL);
890} 891}