aewl

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 diff
     1.1 --- a/aewl.c	Sat Dec 06 16:28:51 2008 +0100
     1.2 +++ b/aewl.c	Mon Feb 16 09:23:57 2009 +0100
     1.3 @@ -47,6 +47,7 @@
     1.4  #include <string.h>
     1.5  #include <unistd.h>
     1.6  #include <sys/select.h>
     1.7 +#include <sys/signal.h>
     1.8  #include <sys/types.h>
     1.9  #include <sys/wait.h>
    1.10  #include <X11/cursorfont.h>
    1.11 @@ -352,8 +353,6 @@
    1.12  	nmaster++;
    1.13  	if(sel)
    1.14  		arrange();
    1.15 -	else
    1.16 -		drawstatus();
    1.17  }
    1.18  
    1.19  void
    1.20 @@ -363,8 +362,6 @@
    1.21  	nmaster--;
    1.22  	if(sel)
    1.23  		arrange();
    1.24 -	else
    1.25 -		drawstatus();
    1.26  }
    1.27  
    1.28  Bool
    1.29 @@ -409,8 +406,7 @@
    1.30    arrange = (arrange == dotile) ? domax : dotile;
    1.31  	if(sel)
    1.32  		arrange();
    1.33 -	else
    1.34 -		drawstatus();
    1.35 +	zoom();
    1.36  }
    1.37  
    1.38  void