equal
deleted
inserted
replaced
1 /* (C)opyright MMVI-MMVII Anselm R. Garbe <garbeam at gmail dot com> |
1 /* (C)opyright MMVI-MMVII Anselm R. Garbe <garbeam at gmail dot com> |
2 * See LICENSE file for license details. |
2 * See LICENSE file for license details. |
3 */ |
3 */ |
4 #include "dwm.h" |
4 #include "dwm.h" |
|
5 |
|
6 unsigned int master = MASTER; |
|
7 unsigned int nmaster = NMASTER; |
5 |
8 |
6 /* static */ |
9 /* static */ |
7 |
10 |
8 static void |
11 static void |
9 togglemax(Client *c) { |
12 togglemax(Client *c) { |
10 XEvent ev; |
13 XEvent ev; |
11 |
14 |
12 if(c->isfixed) |
15 if(c->isfixed) |
13 return; |
16 return; |
14 |
|
15 if((c->ismax = !c->ismax)) { |
17 if((c->ismax = !c->ismax)) { |
16 c->rx = c->x; |
18 c->rx = c->x; |
17 c->ry = c->y; |
19 c->ry = c->y; |
18 c->rw = c->w; |
20 c->rw = c->w; |
19 c->rh = c->h; |
21 c->rh = c->h; |