This commit is contained in:
love-code-yeyixiao 2024-04-20 10:06:35 +08:00
parent 63a05cdfda
commit d324fec689
1 changed files with 1 additions and 1 deletions

View File

@ -1971,7 +1971,7 @@ _FX BOOL Gui_SetWindowPos(
typedef (*P_GetSystemMetrics)(int nIndex);
GET_WIN_API(SystemParametersInfoA, "user32.dll");
GET_WIN_API(GetSystemMetrics, "user32.dll");
SystemParametersInfo(SPI_GETWORKAREA, 0, &rt, 0);
SystemParametersInfoA(SPI_GETWORKAREA, 0, &rt, 0);
int y1 = GetSystemMetrics(SM_CYSCREEN) - rt.bottom;
if (y > y1)
y = y1;