dwm-meillo

diff dwm.h @ 505:2c29d74b11dc

first step to a more flexible dotile() algorithm
author Anselm R. Garbe <arg@10kloc.org>
date Fri, 29 Sep 2006 12:38:27 +0200
parents 9aa3d06199cb
children 2824b5d0f0f0
line diff
     1.1 --- a/dwm.h	Thu Sep 28 21:29:20 2006 +0200
     1.2 +++ b/dwm.h	Fri Sep 29 12:38:27 2006 +0200
     1.3 @@ -48,6 +48,10 @@
     1.4  enum { ColFG, ColBG, ColLast };				/* color */
     1.5  
     1.6  typedef enum {
     1.7 +	StackLeft, StackBottom, StackRight
     1.8 +} StackPos; /* stack position*/
     1.9 +
    1.10 +typedef enum {
    1.11  	TopLeft, TopRight, BotLeft, BotRight
    1.12  } Corner; /* window corners */
    1.13  
    1.14 @@ -97,16 +101,18 @@
    1.15  extern const char *tags[];			/* all tags */
    1.16  extern char stext[1024];			/* status text */
    1.17  extern int bx, by, bw, bh, bmw;			/* bar geometry, bar mode label width */
    1.18 -extern int mw, screen, sx, sy, sw, sh;		/* screen geometry, master width */
    1.19 +extern int master, screen, sx, sy, sw, sh;	/* screen geometry, master width */
    1.20  extern unsigned int ntags, numlockmask;		/* number of tags, dynamic lock mask */
    1.21  extern void (*handler[LASTEvent])(XEvent *);	/* event handler */
    1.22  extern void (*arrange)(Arg *);			/* arrange function, indicates mode  */
    1.23  extern Atom wmatom[WMLast], netatom[NetLast];
    1.24  extern Bool running, issel, *seltag;		/* seltag is array of Bool */
    1.25 +extern Bool isvertical;				/* stack direction */
    1.26  extern Client *clients, *sel, *stack;		/* global client list and stack */
    1.27  extern Cursor cursor[CurLast];
    1.28  extern DC dc;					/* global draw context */
    1.29  extern Display *dpy;
    1.30 +extern StackPos stackpos;
    1.31  extern Window root, barwin;
    1.32  
    1.33  /* client.c */