mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
leave fullscreen exclusive on bnet
This commit is contained in:
parent
fce6319137
commit
a4725e7b2d
@ -661,6 +661,17 @@ HWND WINAPI fake_CreateWindowExA(
|
||||
|
||||
g_ddraw->bnet_was_fullscreen = TRUE;
|
||||
}
|
||||
else
|
||||
{
|
||||
real_SetWindowPos(
|
||||
g_ddraw->hwnd,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
g_ddraw->render.width,
|
||||
g_ddraw->render.height + 1,
|
||||
SWP_NOMOVE | SWP_NOZORDER | SWP_NOOWNERZORDER | SWP_NOSENDCHANGING);
|
||||
}
|
||||
}
|
||||
|
||||
real_GetClientRect(g_ddraw->hwnd, &g_ddraw->bnet_win_rect);
|
||||
|
Loading…
x
Reference in New Issue
Block a user