Explorar el Código

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

anselm@garbe.us hace 13 años
padre
commit
90f3238301
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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);
 }