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 wrap: on
line diff
--- a/tag.c	Wed Aug 16 15:57:36 2006 +0200
+++ b/tag.c	Wed Aug 16 17:56:04 2006 +0200
@@ -49,12 +49,11 @@
 	}
 	if(!sel || !isvisible(sel))
 		sel = getnext(clients);
-	if(sel) {
+	if(sel)
 		focus(sel);
-		restack();
-	}
 	else
 		XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime);
+	restack();
 }
 
 void