border width fixed

This commit is contained in:
mrdotx 2022-04-29 09:45:39 +02:00
parent f9f98b8f56
commit 4397fa4d63
No known key found for this signature in database
GPG Key ID: 433F70E636E6EB87
1 changed files with 1 additions and 1 deletions

View File

@ -414,7 +414,7 @@ setup(void) {
if (center) {
mw = MIN(centerwidth, wa.width) - (borderwidth * 2);
mh = mh * 2 - (borderwidth * 2);
mh = (mh * 2) - (borderwidth * 2);
x = (wa.width - mw) / 2;
y = (wa.height - mh) / 2;
} else {