summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Marçalo <raroma09@gmail.com>2023-08-17 16:42:57 +0100
committerRafael Marçalo <raroma09@gmail.com>2023-08-17 16:42:57 +0100
commit4ee2491bb361c0bd4e24417ce56bf0aebfcae9a4 (patch)
treeeca7ffcf3dc0a1644db68f77e717f013af005f3e
parent25185d01ed47383fb2db48a4620a36f49a4861f1 (diff)
Revert "noborder Patch"
This reverts commit d821d1513097197aa7fc0918e67a3af35e8c3468.
-rw-r--r--dwm.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/dwm.c b/dwm.c
index d225f34..1b0fd83 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1452,14 +1452,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);
XSync(dpy, False);