mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
don't compensate for bwidth twice.
ok oga@
This commit is contained in:
parent
6d268bfa4a
commit
96f03c8cbc
4
client.c
4
client.c
@ -682,7 +682,7 @@ client_placecalc(struct client_ctx *cc)
|
||||
cc->geom.x -= Conf.gap_right;
|
||||
} else {
|
||||
cc->geom.x = cc->bwidth + Conf.gap_left;
|
||||
cc->geom.width = sc->xmax - cc->bwidth - Conf.gap_left;
|
||||
cc->geom.width = sc->xmax - Conf.gap_left;
|
||||
}
|
||||
if (yslack >= 0) {
|
||||
cc->geom.y = MAX(MIN(ymouse, yslack),
|
||||
@ -691,7 +691,7 @@ client_placecalc(struct client_ctx *cc)
|
||||
cc->geom.y -= Conf.gap_bottom;
|
||||
} else {
|
||||
cc->geom.y = cc->bwidth + Conf.gap_top;
|
||||
cc->geom.height = sc->ymax - cc->bwidth - Conf.gap_top;
|
||||
cc->geom.height = sc->ymax - Conf.gap_top;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user