summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-06-10 12:24:46 +0200
committerbakkeby <[email protected]>2020-06-10 12:24:46 +0200
commite355c49833bf3bb11457ae32dbe9696d33e10883 (patch)
treead3b7093add598ca6fed4c69fb2b050ec2607e02
parent1f971ebd1de56e786b0117dd6398c85612b42e50 (diff)
downloaddwm-flexipatch-e355c49833bf3bb11457ae32dbe9696d33e10883.tar.gz
dwm-flexipatch-e355c49833bf3bb11457ae32dbe9696d33e10883.zip
noborder: The noborder patch had a bug in it such that if moving the window in floating layout then the window would continuously grow, adding the fix for that
-rw-r--r--dwm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index f001203..78b29ae 100644
--- a/dwm.c
+++ b/dwm.c
@@ -2511,7 +2511,8 @@ resizeclient(Client *c, int x, int y, int w, int h)
#if MONOCLE_LAYOUT
|| &monocle == c->mon->lt[c->mon->sellt]->arrange
#endif // MONOCLE_LAYOUT
- ) && !c->isfullscreen && !c->isfloating) {
+ ) && !c->isfullscreen && !c->isfloating
+ && 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;