applied a modified version of Christof Musik's multihead patch (though this is not sure if it works in all cases, have to wait for an ACK by Christof)
96e1b25c
1 file(s) · +4 −1
| 270 | 270 | leavenotify(XEvent *e) { |
|
| 271 | 271 | XCrossingEvent *ev = &e->xcrossing; |
|
| 272 | 272 | ||
| 273 | - | if((ev->window == root) && !ev->same_screen) |
|
| 273 | + | if((ev->window == root) && !ev->same_screen) { |
|
| 274 | 274 | issel = False; |
|
| 275 | + | if(sel) |
|
| 276 | + | XSetWindowBorder(dpy, sel->win, dc.norm[ColBorder]); |
|
| 277 | + | } |
|
| 275 | 278 | } |
|
| 276 | 279 | ||
| 277 | 280 | static void |