aewl

diff 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
line diff
     1.1 --- a/client.c	Wed Jul 12 16:00:51 2006 +0200
     1.2 +++ b/client.c	Wed Jul 12 16:40:37 2006 +0200
     1.3 @@ -12,6 +12,18 @@
     1.4  #include "wm.h"
     1.5  
     1.6  void
     1.7 +max(void *aux)
     1.8 +{
     1.9 +	if(!stack)
    1.10 +		return;
    1.11 +	stack->x = sx;
    1.12 +	stack->y = bh;
    1.13 +	stack->w = sw - 2;
    1.14 +	stack->h = sh - bh - 2;
    1.15 +	resize(stack);
    1.16 +}
    1.17 +
    1.18 +void
    1.19  arrange(void *aux)
    1.20  {
    1.21  	Client *c;