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 wrap: on
line diff
--- a/LICENSE	Sat Dec 06 16:28:51 2008 +0100
+++ b/LICENSE	Mon Feb 16 09:23:57 2009 +0100
@@ -2,7 +2,7 @@
 
 (C)opyright MMVI-MMVII Anselm R. Garbe <garbeam at gmail dot com>
 (C)opyright MMVI-MMVII Sander van Dijk <a dot h dot vandijk at gmail dot com>
-(C)opyright MMVIII markus schnalke <meillo at marmaro dot de>
+Copyright 2008  markus schnalke <meillo@marmaro.de>
 
 Permission is hereby granted, free of charge, to any person obtaining a
 copy of this software and associated documentation files (the "Software"),
--- 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