diff options
author | zachir <zachir@librem.one> | 2021-03-25 12:00:05 -0500 |
---|---|---|
committer | zachir <zachir@librem.one> | 2021-03-25 12:00:05 -0500 |
commit | eec9aa04786c0240c690e6a9997b0167f558f571 (patch) | |
tree | 8a95a1fd59cc1ece1350819f1a4d012b74c44a0b | |
parent | f8dea854fe2144c0e48a44447dbe53719905cffb (diff) |
Add ability to ignore resize hints for terminals
-rw-r--r-- | dwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -432,7 +432,7 @@ applysizehints(Client *c, int *x, int *y, int *w, int *h, int interact) *h = bh; if (*w < bh) *w = bh; - if (resizehints || c->isfloating || !c->mon->lt[c->mon->sellt]->arrange) { + if ((resizehints && !c->isterminal) || 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 */ |