aewl

changeset 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 794a83e74023
children 3835ddb75a55
files LICENSE aewl.c
diffstat 2 files changed, 3 insertions(+), 7 deletions(-) [+]
line diff
     1.1 --- a/LICENSE	Sat Dec 06 16:28:51 2008 +0100
     1.2 +++ b/LICENSE	Mon Feb 16 09:23:57 2009 +0100
     1.3 @@ -2,7 +2,7 @@
     1.4  
     1.5  (C)opyright MMVI-MMVII Anselm R. Garbe <garbeam at gmail dot com>
     1.6  (C)opyright MMVI-MMVII Sander van Dijk <a dot h dot vandijk at gmail dot com>
     1.7 -(C)opyright MMVIII markus schnalke <meillo at marmaro dot de>
     1.8 +Copyright 2008  markus schnalke <meillo@marmaro.de>
     1.9  
    1.10  Permission is hereby granted, free of charge, to any person obtaining a
    1.11  copy of this software and associated documentation files (the "Software"),
     2.1 --- a/aewl.c	Sat Dec 06 16:28:51 2008 +0100
     2.2 +++ b/aewl.c	Mon Feb 16 09:23:57 2009 +0100
     2.3 @@ -47,6 +47,7 @@
     2.4  #include <string.h>
     2.5  #include <unistd.h>
     2.6  #include <sys/select.h>
     2.7 +#include <sys/signal.h>
     2.8  #include <sys/types.h>
     2.9  #include <sys/wait.h>
    2.10  #include <X11/cursorfont.h>
    2.11 @@ -352,8 +353,6 @@
    2.12  	nmaster++;
    2.13  	if(sel)
    2.14  		arrange();
    2.15 -	else
    2.16 -		drawstatus();
    2.17  }
    2.18  
    2.19  void
    2.20 @@ -363,8 +362,6 @@
    2.21  	nmaster--;
    2.22  	if(sel)
    2.23  		arrange();
    2.24 -	else
    2.25 -		drawstatus();
    2.26  }
    2.27  
    2.28  Bool
    2.29 @@ -409,8 +406,7 @@
    2.30    arrange = (arrange == dotile) ? domax : dotile;
    2.31  	if(sel)
    2.32  		arrange();
    2.33 -	else
    2.34 -		drawstatus();
    2.35 +	zoom();
    2.36  }
    2.37  
    2.38  void