diff options
| author | Anselm R. Garbe <arg@suckless.org> | 2007-01-18 11:11:40 +0100 |
|---|---|---|
| committer | Anselm R. Garbe <arg@suckless.org> | 2007-01-18 11:11:40 +0100 |
| commit | 96e1b25c8ceca2993b2044d000f5827c19326c8a (patch) | |
| tree | 9667fa34771fde127fed53da684b8e7ce806b7be | |
| parent | moved BORDERPX to config.*.h (diff) | |
| download | dwm-96e1b25c8ceca2993b2044d000f5827c19326c8a.tar.gz dwm-96e1b25c8ceca2993b2044d000f5827c19326c8a.zip | |
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)
Diffstat (limited to '')
| -rw-r--r-- | event.c | 5 |
1 files changed, 4 insertions, 1 deletions
| @@ -270,8 +270,11 @@ static void | |||
| 270 | leavenotify(XEvent *e) { | 270 | leavenotify(XEvent *e) { |
| 271 | XCrossingEvent *ev = &e->xcrossing; | 271 | XCrossingEvent *ev = &e->xcrossing; |
| 272 | 272 | ||
| 273 | if((ev->window == root) && !ev->same_screen) | 273 | if((ev->window == root) && !ev->same_screen) { |
| 274 | issel = False; | 274 | issel = False; |
| 275 | if(sel) | ||
| 276 | XSetWindowBorder(dpy, sel->win, dc.norm[ColBorder]); | ||
| 277 | } | ||
| 275 | } | 278 | } |
| 276 | 279 | ||
| 277 | static void | 280 | static void |
