aewl

changeset 701:fc5b982778df

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)
author Anselm R. Garbe <arg@suckless.org>
date Thu, 18 Jan 2007 11:11:40 +0100
parents f05c825db96b
children 94c82dffe1d5
files event.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/event.c	Wed Jan 17 12:36:29 2007 +0100
     1.2 +++ b/event.c	Thu Jan 18 11:11:40 2007 +0100
     1.3 @@ -270,8 +270,11 @@
     1.4  leavenotify(XEvent *e) {
     1.5  	XCrossingEvent *ev = &e->xcrossing;
     1.6  
     1.7 -	if((ev->window == root) && !ev->same_screen)
     1.8 +	if((ev->window == root) && !ev->same_screen) {
     1.9  		issel = False;
    1.10 +		if(sel)
    1.11 +			XSetWindowBorder(dpy, sel->win, dc.norm[ColBorder]);
    1.12 +	}
    1.13  }
    1.14  
    1.15  static void