client.c
changeset 28 3dceb132082d
parent 27 f96fb3fd8203
child 29 8ad86d0a6a53
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;