dwm-meillo

diff wm.h @ 31:386649deb651

before leaning things up
author Anselm R. Garbe <garbeam@wmii.de>
date Thu, 13 Jul 2006 01:04:38 +0200
parents 8ad86d0a6a53
children 082c75b937b5
line diff
     1.1 --- a/wm.h	Wed Jul 12 17:50:31 2006 +0200
     1.2 +++ b/wm.h	Thu Jul 13 01:04:38 2006 +0200
     1.3 @@ -22,7 +22,8 @@
     1.4  enum { CurNormal, CurResize, CurMove, CurInput, CurLast };
     1.5  
     1.6  struct Client {
     1.7 -	char name[256], tag[256];
     1.8 +	char name[256];
     1.9 +	char *tags[TLast];
    1.10  	int proto;
    1.11  	int x, y, w, h;
    1.12  	int tx, ty, tw, th;
    1.13 @@ -48,11 +49,12 @@
    1.14  extern Window root, barwin;
    1.15  extern Atom wm_atom[WMLast], net_atom[NetLast];
    1.16  extern Cursor cursor[CurLast];
    1.17 -extern Bool running, sel_screen, grid;
    1.18 +extern Bool running, issel;
    1.19  extern void (*handler[LASTEvent]) (XEvent *);
    1.20 +extern void (*arrange)(void *aux);
    1.21  
    1.22 -extern int screen, sx, sy, sw, sh, bx, by, bw, bh;
    1.23 -extern char statustext[1024], tag[256];
    1.24 +extern int tsel, screen, sx, sy, sw, sh, bx, by, bw, bh;
    1.25 +extern char stext[1024], *tags[TLast];
    1.26  
    1.27  extern Brush brush;
    1.28  extern Client *clients, *stack;
    1.29 @@ -75,7 +77,8 @@
    1.30  extern void kill(void *aux);
    1.31  extern void sel(void *aux);
    1.32  extern void max(void *aux);
    1.33 -extern void arrange(void *aux);
    1.34 +extern void floating(void *aux);
    1.35 +extern void grid(void *aux);
    1.36  extern void gravitate(Client *c, Bool invert);
    1.37  
    1.38  /* event.c */