diff options
| -rw-r--r-- | client.c | 4 | ||||
| -rw-r--r-- | dwm.h | 1 |
2 files changed, 0 insertions, 5 deletions
| @@ -289,10 +289,6 @@ updatesize(Client *c) { | |||
| 289 | c->minw = c->minh = 0; | 289 | c->minw = c->minh = 0; |
| 290 | c->isfixed = (c->maxw && c->minw && c->maxh && c->minh && | 290 | c->isfixed = (c->maxw && c->minw && c->maxh && c->minh && |
| 291 | c->maxw == c->minw && c->maxh == c->minh); | 291 | c->maxw == c->minw && c->maxh == c->minh); |
| 292 | if(c->flags & PWinGravity) | ||
| 293 | c->grav = size.win_gravity; | ||
| 294 | else | ||
| 295 | c->grav = NorthWestGravity; | ||
| 296 | } | 292 | } |
| 297 | 293 | ||
| 298 | void | 294 | void |
| @@ -80,7 +80,6 @@ struct Client { | |||
| 80 | int rx, ry, rw, rh; /* revert geometry */ | 80 | int rx, ry, rw, rh; /* revert geometry */ |
| 81 | int tx, ty, tw, th; /* title window geometry */ | 81 | int tx, ty, tw, th; /* title window geometry */ |
| 82 | int basew, baseh, incw, inch, maxw, maxh, minw, minh; | 82 | int basew, baseh, incw, inch, maxw, maxh, minw, minh; |
| 83 | int grav; | ||
| 84 | long flags; | 83 | long flags; |
| 85 | unsigned int border; | 84 | unsigned int border; |
| 86 | Bool isfloat, isfixed, ismax; | 85 | Bool isfloat, isfixed, ismax; |
