dwm-meillo
diff dwm.h @ 650:f3b8c71a69d4
experimental version which allows master clients being increased/decreased
author | Anselm R. Garbe <arg@suckless.org> |
---|---|
date | Fri, 05 Jan 2007 12:50:39 +0100 |
parents | d6023e0f3cf9 |
children | 5d79c351e30a |
line diff
1.1 --- a/dwm.h Thu Jan 04 16:45:28 2007 +0100 1.2 +++ b/dwm.h Fri Jan 05 12:50:39 2007 +0100 1.3 @@ -96,7 +96,8 @@ 1.4 extern int bx, by, bw, bh, bmw; /* bar geometry, bar mode label width */ 1.5 extern int screen, sx, sy, sw, sh; /* screen geometry */ 1.6 extern int wax, way, wah, waw; /* windowarea geometry */ 1.7 -extern unsigned int master, ntags, numlockmask; /* master percent, number of tags, dynamic lock mask */ 1.8 +extern unsigned int master, nmaster; /* master percent, number of master clients */ 1.9 +extern unsigned int ntags, numlockmask; /* number of tags, dynamic lock mask */ 1.10 extern void (*handler[LASTEvent])(XEvent *); /* event handler */ 1.11 extern void (*arrange)(void); /* arrange function, indicates mode */ 1.12 extern Atom wmatom[WMLast], netatom[NetLast]; 1.13 @@ -159,6 +160,7 @@ 1.14 extern void dotile(void); /* arranges all windows tiled */ 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 void incnmaster(Arg *arg); /* increments nmaster with arg's index value */ 1.18 extern Bool isvisible(Client *c); /* returns True if client is visible */ 1.19 extern void resizemaster(Arg *arg); /* resizes the master percent with arg's index value */ 1.20 extern void restack(void); /* restores z layers of all clients */