diff options
| author | ProsperousPotato <ProsperousPotato@users.noreply.github.com> | 2025-07-26 20:55:37 +0100 |
|---|---|---|
| committer | ProsperousPotato <ProsperousPotato@users.noreply.github.com> | 2025-07-26 20:55:37 +0100 |
| commit | 9da4614928a93109b66dd500af459be5fa9f783c (patch) | |
| tree | 051f56b10f517179dd1b5e34b85b055815515b55 /dwm.c | |
| parent | 779c9489a7d2c339e36a80c6432a1f65c8833e01 (diff) | |
'upgrades, people, upgrades'
Diffstat (limited to 'dwm.c')
| -rwxr-xr-x[-rw-r--r--] | dwm.c | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -1100,12 +1100,8 @@ maprequest(XEvent *e) void monocle(Monitor *m) { - unsigned int n = 0; Client *c; - for (c = m->clients; c; c = c->next) - if (ISVISIBLE(c)) - n++; for (c = nexttiled(m->clients); c; c = nexttiled(c->next)) resize(c, m->wx, m->wy, m->ww - 2 * c->bw, m->wh - 2 * c->bw, 0); } @@ -1268,14 +1264,6 @@ resizeclient(Client *c, int x, int y, int w, int h) c->oldw = c->w; c->w = wc.width = w; c->oldh = c->h; c->h = wc.height = h; wc.border_width = c->bw; - if (((nexttiled(c->mon->clients) == c && !nexttiled(c->next)) - || &monocle == c->mon->lt[c->mon->sellt]->arrange) - && !c->isfullscreen && !c->isfloating - && NULL != c->mon->lt[c->mon->sellt]->arrange) { - c->w = wc.width += c->bw * 2; - c->h = wc.height += c->bw * 2; - wc.border_width = 0; - } XConfigureWindow(dpy, c->win, CWX|CWY|CWWidth|CWHeight|CWBorderWidth, &wc); configure(c); |
