tadded kludge to fix some input focus misbehavior in gedit and anjuta, thanks M… | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 90f3238301c85ffad459cb871d70ebea569ecbb3 | |
parent 3bfc43c3d01d710c4828d75a8a5a9b910ee90dff | |
Author: [email protected] <unknown> | |
Date: Sun, 15 Apr 2012 11:41:18 +0200 | |
added kludge to fix some input focus misbehavior in gedit and anjuta, thanks Ma… | |
Diffstat: | |
M dwm.c | 3 ++- | |
1 file changed, 2 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/dwm.c b/dwm.c | |
t@@ -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); | |
} |