unfocus on slow sloppy monitor focus
54c3044d
1 file(s) · +1 −0
| 1212 | 1212 | if(ev->window != root) |
|
| 1213 | 1213 | return; |
|
| 1214 | 1214 | if((m = recttomon(ev->x_root, ev->y_root, 1, 1)) != mon && mon) { |
|
| 1215 | + | unfocus(selmon->sel, True); |
|
| 1215 | 1216 | selmon = m; |
|
| 1216 | 1217 | focus(NULL); |
|
| 1217 | 1218 | } |