From: anselm@garbe.us Date: Sun, 15 Apr 2012 09:41:18 +0000 (+0200) Subject: added kludge to fix some input focus misbehavior in gedit and anjuta, thanks Martti... X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=90f3238301c85ffad459cb871d70ebea569ecbb3;p=dwm.git added kludge to fix some input focus misbehavior in gedit and anjuta, thanks Martti Kühne --- 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) { 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); }