Introduction
Introduction Statistics Contact Development Disclaimer Help
dwm-removeborder-20220626-d3f93c7.diff - sites - public wiki contents of suckle…
git clone git://git.suckless.org/sites
Log
Files
Refs
---
dwm-removeborder-20220626-d3f93c7.diff (855B)
---
1 diff --git a/dwm.c b/dwm.c
2 index 5646a5c..27e29df 100644
3 --- a/dwm.c
4 +++ b/dwm.c
5 @@ -1283,12 +1283,26 @@ void
6 resizeclient(Client *c, int x, int y, int w, int h)
7 {
8 XWindowChanges wc;
9 + unsigned int n;
10 + Client *nbc;
11
12 c->oldx = c->x; c->x = wc.x = x;
13 c->oldy = c->y; c->y = wc.y = y;
14 c->oldw = c->w; c->w = wc.width = w;
15 c->oldh = c->h; c->h = wc.height = h;
16 wc.border_width = c->bw;
17 +
18 + for (n = 0, nbc = nexttiled(c->mon->clients); nbc; nbc = nextti…
19 +
20 + if (c->isfloating || c->mon->lt[c->mon->sellt]->arrange == NULL…
21 + } else {
22 + if (c->mon->lt[c->mon->sellt]->arrange == monocle || n …
23 + wc.border_width = 0;
24 + c->w = wc.width += c->bw * 2;
25 + c->h = wc.height += c->bw * 2;
26 + }
27 + }
28 +
29 XConfigureWindow(dpy, c->win, CWX|CWY|CWWidth|CWHeight|CWBorder…
30 configure(c);
31 XSync(dpy, False);
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.