birdwm

birdwm - mrgrouse's daily driver fork of suckless' dwm. Contains many patches and is currently loosely maintained.
Log | Files | Refs | README | LICENSE

commit bc09b9d3c3ee3b0fc1d48cc57c5aa08895827cbb
parent 6c014017c10220315a65c876ae738db977d02f60
Author: mrgrouse <mrgrouse@mrgrouse.com>
Date:   Thu, 27 Nov 2025 19:06:20 -0500

birdwm.c: use gaps with only one window

Diffstat:
Mbirdwm.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/birdwm.c b/birdwm.c @@ -1636,7 +1636,8 @@ resizeclient(Client *c, int x, int y, int w, int h) gapincr = gapoffset = 0; } else { /* Remove border and gap if layout is monocle or only one client */ - if (c->mon->lt[c->mon->sellt]->arrange == monocle || n == 1) { + //if (c->mon->lt[c->mon->sellt]->arrange == monocle || n == 1) { + if (c->mon->lt[c->mon->sellt]->arrange == monocle) { /* this edit is for no-gaps only monocle mode */ gapoffset = 0; gapincr = -2 * borderpx; wc.border_width = 0;