Remove unnecessary tiled resize hints code
This commit is contained in:
parent
a77665ab5c
commit
53e0462a31
|
@ -39,7 +39,6 @@ static const Rule rules[] = {
|
|||
/* layout(s) */
|
||||
static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */
|
||||
static const int nmaster = 1; /* number of clients in master area */
|
||||
static const int resizehints = 0; /* 1 means respect size hints in tiled resizals */
|
||||
|
||||
static const Layout layouts[] = {
|
||||
/* symbol arrange function */
|
||||
|
|
2
dwm.c
2
dwm.c
|
@ -386,7 +386,7 @@ applysizehints(Client *c, int *x, int *y, int *w, int *h, int bw, int interact)
|
|||
*h = bh;
|
||||
if (*w < bh)
|
||||
*w = bh;
|
||||
if (resizehints || c->isfloating || !c->mon->lt[c->mon->sellt]->arrange) {
|
||||
if (c->isfloating || !c->mon->lt[c->mon->sellt]->arrange) {
|
||||
/* see last two sentences in ICCCM 4.1.2.3 */
|
||||
baseismin = c->basew == c->minw && c->baseh == c->minh;
|
||||
if (!baseismin) { /* temporarily remove base dimensions */
|
||||
|
|
Loading…
Reference in New Issue