From 5c1f822a35e4d1223dc43fee2ca7cb011bde7ad8 Mon Sep 17 00:00:00 2001 From: FunkyFr3sh Date: Fri, 31 May 2024 02:43:20 +0200 Subject: [PATCH] #319 fix moving cursor bug in Nancy drew games (macOS) --- src/dd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dd.c b/src/dd.c index 72f968c..fe94379 100644 --- a/src/dd.c +++ b/src/dd.c @@ -1056,6 +1056,8 @@ HRESULT dd_SetDisplayMode(DWORD dwWidth, DWORD dwHeight, DWORD dwBPP, DWORD dwFl if ((exstyle & WS_EX_CLIENTEDGE)) { + swp_flags |= SWP_FRAMECHANGED; + real_SetWindowLongA(g_ddraw.hwnd, GWL_EXSTYLE, exstyle & ~(WS_EX_CLIENTEDGE)); }