Xinqi Bao's Git

added max
[dwm.git] / client.c
index b961d86..537336c 100644 (file)
--- a/client.c
+++ b/client.c
 #include "util.h"
 #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)
 {