added kludge to fix some input focus misbehavior in gedit and anjuta, thanks Martti Kühne
90f32383
1 file(s) · +2 −1
| 884 | 884 | return; |
|
| 885 | 885 | if((m = dirtomon(arg->i)) == selmon) |
|
| 886 | 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 | 889 | selmon = m; |
|
| 889 | 890 | focus(NULL); |
|
| 890 | 891 | } |