mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02:00
noborder: the recorded height and width of the client should most likely not be changed when noborder is in effect
This commit is contained in:
parent
ff78e407a5
commit
c6c2f0109f
4
dwm.c
4
dwm.c
@ -2632,8 +2632,8 @@ resizeclient(Client *c, int x, int y, int w, int h)
|
|||||||
#endif // FAKEFULLSCREEN_CLIENT_PATCH
|
#endif // FAKEFULLSCREEN_CLIENT_PATCH
|
||||||
&& !c->isfloating
|
&& !c->isfloating
|
||||||
&& c->mon->lt[c->mon->sellt]->arrange) {
|
&& c->mon->lt[c->mon->sellt]->arrange) {
|
||||||
c->w = wc.width += c->bw * 2;
|
wc.width += c->bw * 2;
|
||||||
c->h = wc.height += c->bw * 2;
|
wc.height += c->bw * 2;
|
||||||
wc.border_width = 0;
|
wc.border_width = 0;
|
||||||
}
|
}
|
||||||
#endif // NOBORDER_PATCH
|
#endif // NOBORDER_PATCH
|
||||||
|
Loading…
Reference in New Issue
Block a user