aewl

diff tag.c @ 307:ec8a66a2b9cc

fixed issue reported by sander
author Anselm R.Garbe <arg@10ksloc.org>
date Wed, 16 Aug 2006 17:56:04 +0200
parents 71f02d14dce1
children 96d09fd98e89
line diff
     1.1 --- a/tag.c	Wed Aug 16 15:57:36 2006 +0200
     1.2 +++ b/tag.c	Wed Aug 16 17:56:04 2006 +0200
     1.3 @@ -49,12 +49,11 @@
     1.4  	}
     1.5  	if(!sel || !isvisible(sel))
     1.6  		sel = getnext(clients);
     1.7 -	if(sel) {
     1.8 +	if(sel)
     1.9  		focus(sel);
    1.10 -		restack();
    1.11 -	}
    1.12  	else
    1.13  		XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime);
    1.14 +	restack();
    1.15  }
    1.16  
    1.17  void