From eec9aa04786c0240c690e6a9997b0167f558f571 Mon Sep 17 00:00:00 2001 From: zachir Date: Thu, 25 Mar 2021 12:00:05 -0500 Subject: Add ability to ignore resize hints for terminals --- dwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwm.c b/dwm.c index 5fb86a6..be13dda 100644 --- a/dwm.c +++ b/dwm.c @@ -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 */ -- cgit v1.2.3