dwm-meillo

diff event.c @ 709:6c2fcf88dd9f

this variant is known to work, but focus() is ugly - we need in general a better way to handle multihead, this issel-stuff looks awkward (maybe it might be a good idea to set sel to NULL but to introduce a Client *revert which is set if a screen is unfocused, have to think about it further).
author Anselm R. Garbe <arg@suckless.org>
date Mon, 22 Jan 2007 10:35:58 +0100
parents a2d568a5cdb8
children b40134b93de3
line diff
     1.1 --- a/event.c	Mon Jan 22 10:22:58 2007 +0100
     1.2 +++ b/event.c	Mon Jan 22 10:35:58 2007 +0100
     1.3 @@ -269,8 +269,8 @@
     1.4  	XCrossingEvent *ev = &e->xcrossing;
     1.5  
     1.6  	if((ev->window == root) && !ev->same_screen) {
     1.7 -		focus(NULL);
     1.8  		issel = False;
     1.9 +		focus(sel);
    1.10  	}
    1.11  }
    1.12