diff options
| author | bakkeby <[email protected]> | 2020-06-10 12:24:46 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2020-06-10 12:24:46 +0200 |
| commit | e355c49833bf3bb11457ae32dbe9696d33e10883 (patch) | |
| tree | ad3b7093add598ca6fed4c69fb2b050ec2607e02 | |
| parent | 1f971ebd1de56e786b0117dd6398c85612b42e50 (diff) | |
| download | dwm-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |
