1
0
mirror of synced 2024-11-24 07:40:17 +01:00

fix: White border around maximized window on WIndows

This commit is contained in:
WerWolv 2023-05-11 20:49:07 +02:00
parent ceeaca1a4b
commit 0b21e30e44

View File

@ -92,8 +92,8 @@ namespace hex {
rect = RECT {
.left = static_cast<LONG>(client.left + windowInfo.cyWindowBorders),
.top = static_cast<LONG>(client.top + windowInfo.cyWindowBorders),
.right = static_cast<LONG>(client.right - windowInfo.cyWindowBorders * 2),
.bottom = static_cast<LONG>(client.bottom - windowInfo.cyWindowBorders * 2) + 1
.right = static_cast<LONG>(client.right - windowInfo.cyWindowBorders),
.bottom = static_cast<LONG>(client.bottom - windowInfo.cyWindowBorders) + 1
};
} else {
rect = client;