Mercurial > aewl
comparison client.c @ 28:3dceb132082d
added max
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Wed, 12 Jul 2006 16:40:37 +0200 |
parents | f96fb3fd8203 |
children | 8ad86d0a6a53 |
comparison
equal
deleted
inserted
replaced
27:f96fb3fd8203 | 28:3dceb132082d |
---|---|
8 #include <string.h> | 8 #include <string.h> |
9 #include <X11/Xatom.h> | 9 #include <X11/Xatom.h> |
10 | 10 |
11 #include "util.h" | 11 #include "util.h" |
12 #include "wm.h" | 12 #include "wm.h" |
13 | |
14 void | |
15 max(void *aux) | |
16 { | |
17 if(!stack) | |
18 return; | |
19 stack->x = sx; | |
20 stack->y = bh; | |
21 stack->w = sw - 2; | |
22 stack->h = sh - bh - 2; | |
23 resize(stack); | |
24 } | |
13 | 25 |
14 void | 26 void |
15 arrange(void *aux) | 27 arrange(void *aux) |
16 { | 28 { |
17 Client *c; | 29 Client *c; |