aewl

diff dwm.h @ 524:1a9a0877650c

keep master ratio on resizecol -> arrange
author Anselm R. Garbe <arg@10kloc.org>
date Thu, 05 Oct 2006 12:59:35 +0200
parents fd1275f3b205
children 451f19d48845
line diff
     1.1 --- a/dwm.h	Thu Oct 05 12:18:04 2006 +0200
     1.2 +++ b/dwm.h	Thu Oct 05 12:59:35 2006 +0200
     1.3 @@ -101,8 +101,8 @@
     1.4  extern const char *tags[];			/* all tags */
     1.5  extern char stext[1024];			/* status text */
     1.6  extern int bx, by, bw, bh, bmw;			/* bar geometry, bar mode label width */
     1.7 -extern int master, screen, sx, sy, sw, sh;	/* screen geometry, master dimension*/
     1.8 -extern unsigned int ntags, numlockmask;		/* number of tags, dynamic lock mask */
     1.9 +extern int screen, sx, sy, sw, sh;		/* screen geometry */
    1.10 +extern unsigned int master, ntags, numlockmask;	/* master percent, number of tags, dynamic lock mask */
    1.11  extern void (*handler[LASTEvent])(XEvent *);	/* event handler */
    1.12  extern void (*arrange)(Arg *);			/* arrange function, indicates mode  */
    1.13  extern Atom wmatom[WMLast], netatom[NetLast];
    1.14 @@ -168,7 +168,7 @@
    1.15  extern void focusnext(Arg *arg);		/* focuses next visible client, arg is ignored  */
    1.16  extern void focusprev(Arg *arg);		/* focuses previous visible client, arg is ignored */
    1.17  extern Bool isvisible(Client *c);		/* returns True if client is visible */
    1.18 -extern void resizecol(Arg *arg);		/* resizes the master dimension with arg's index value */
    1.19 +extern void resizecol(Arg *arg);		/* resizes the master percent with arg's index value */
    1.20  extern void restack(void);			/* restores z layers of all clients */
    1.21  extern void togglestackpos(Arg *arg);		/* toggles stack position */
    1.22  extern void togglemode(Arg *arg);		/* toggles global arrange function (dotile/dofloat) */