Преглед изворни кода

added kludge to fix some input focus misbehavior in gedit and anjuta, thanks Martti Kühne

anselm@garbe.us пре 13 година
родитељ
комит
90f3238301
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      dwm.c

+ 2 - 1
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);
 }