diff aewl.c @ 776:a3399a8964c7

no need to update the bar when the layout changes
author meillo@marmaro.de
date Mon, 16 Feb 2009 09:23:57 +0100
parents d2e56ce18f5b
children 3835ddb75a55
line wrap: on
line diff
--- a/aewl.c	Sat Dec 06 16:28:51 2008 +0100
+++ b/aewl.c	Mon Feb 16 09:23:57 2009 +0100
@@ -47,6 +47,7 @@
 #include <string.h>
 #include <unistd.h>
 #include <sys/select.h>
+#include <sys/signal.h>
 #include <sys/types.h>
 #include <sys/wait.h>
 #include <X11/cursorfont.h>
@@ -352,8 +353,6 @@
 	nmaster++;
 	if(sel)
 		arrange();
-	else
-		drawstatus();
 }
 
 void
@@ -363,8 +362,6 @@
 	nmaster--;
 	if(sel)
 		arrange();
-	else
-		drawstatus();
 }
 
 Bool
@@ -409,8 +406,7 @@
   arrange = (arrange == dotile) ? domax : dotile;
 	if(sel)
 		arrange();
-	else
-		drawstatus();
+	zoom();
 }
 
 void