mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
#319 fix moving cursor bug in Nancy drew games (macOS)
This commit is contained in:
parent
0be22be87b
commit
5c1f822a35
2
src/dd.c
2
src/dd.c
@ -1056,6 +1056,8 @@ HRESULT dd_SetDisplayMode(DWORD dwWidth, DWORD dwHeight, DWORD dwBPP, DWORD dwFl
|
|||||||
|
|
||||||
if ((exstyle & WS_EX_CLIENTEDGE))
|
if ((exstyle & WS_EX_CLIENTEDGE))
|
||||||
{
|
{
|
||||||
|
swp_flags |= SWP_FRAMECHANGED;
|
||||||
|
|
||||||
real_SetWindowLongA(g_ddraw.hwnd, GWL_EXSTYLE, exstyle & ~(WS_EX_CLIENTEDGE));
|
real_SetWindowLongA(g_ddraw.hwnd, GWL_EXSTYLE, exstyle & ~(WS_EX_CLIENTEDGE));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user