about summary refs log tree commit diff stats
path: root/client.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-12 16:40:37 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-12 16:40:37 +0200
commit6db5ffb6c9a9c0db5c425c64a96a3896a682c95e (patch)
tree25560883099cb295166106592aa31403c2bd13b7 /client.c
parent4641aa2925731ac180b08c80f57db176391ea4a9 (diff)
downloaddwm-6db5ffb6c9a9c0db5c425c64a96a3896a682c95e.tar.gz
added max
Diffstat (limited to 'client.c')
-rw-r--r--client.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/client.c b/client.c
index b961d86..537336c 100644
--- a/client.c
+++ b/client.c
@@ -12,6 +12,18 @@
 #include "wm.h"
 
 void
+max(void *aux)
+{
+	if(!stack)
+		return;
+	stack->x = sx;
+	stack->y = bh;
+	stack->w = sw - 2;
+	stack->h = sh - bh - 2;
+	resize(stack);
+}
+
+void
 arrange(void *aux)
 {
 	Client *c;