diff options
Diffstat (limited to 'tile.c')
| -rw-r--r-- | tile.c | 6 |
1 files changed, 4 insertions, 2 deletions
| @@ -3,15 +3,17 @@ | |||
| 3 | */ | 3 | */ |
| 4 | #include "dwm.h" | 4 | #include "dwm.h" |
| 5 | 5 | ||
| 6 | unsigned int master = MASTER; | ||
| 7 | unsigned int nmaster = NMASTER; | ||
| 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; |
