diff draw.c @ 239:e5390f8e06b9

applied sumik's multihead patch
author Anselm R.Garbe <arg@10ksloc.org>
date Thu, 10 Aug 2006 11:26:32 +0200
parents 7f8f7f14e9cd
children 32dc3acfffc0
line wrap: on
line diff
--- a/draw.c	Thu Aug 10 11:19:25 2006 +0200
+++ b/draw.c	Thu Aug 10 11:26:32 2006 +0200
@@ -138,7 +138,7 @@
 	int i;
 	Bool istile = arrange == dotile;
 
-	if(c == sel) {
+	if(c == sel && issel) {
 		drawstatus();
 		XUnmapWindow(dpy, c->title);
 		XSetWindowBorder(dpy, c->win, dc.fg);