mirror of
https://git.suckless.org/dwm
synced 2024-12-27 03:16:32 +00:00
replaced BORDERPX with sel->border in togglemax(), in other places this is not possible.
This commit is contained in:
parent
4e49d5a0ad
commit
141beb2704
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
# dwm version
|
||||
VERSION = 4.2
|
||||
VERSION = 4.3
|
||||
|
||||
# Customize below to fit your system
|
||||
|
||||
|
|
2
layout.c
2
layout.c
|
@ -243,7 +243,7 @@ togglemax(const char *arg) {
|
|||
sel->ry = sel->y;
|
||||
sel->rw = sel->w;
|
||||
sel->rh = sel->h;
|
||||
resize(sel, wax, way, waw - 2 * BORDERPX, wah - 2 * BORDERPX, True);
|
||||
resize(sel, wax, way, waw - 2 * sel->border, wah - 2 * sel->border, True);
|
||||
}
|
||||
else
|
||||
resize(sel, sel->rx, sel->ry, sel->rw, sel->rh, True);
|
||||
|
|
Loading…
Reference in a new issue