From 9c0c0c64ba0eb7f6adb6108b008d1dba7da6e241 Mon Sep 17 00:00:00 2001 From: VDm Date: Sun, 30 Mar 2025 12:41:01 +0400 Subject: [PATCH] fix(d3d): fix cursor shape for non-client window area --- src/gx/d3d/CGxDeviceD3d.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gx/d3d/CGxDeviceD3d.cpp b/src/gx/d3d/CGxDeviceD3d.cpp index 06dbdd3..3103b77 100644 --- a/src/gx/d3d/CGxDeviceD3d.cpp +++ b/src/gx/d3d/CGxDeviceD3d.cpp @@ -338,10 +338,10 @@ LRESULT CGxDeviceD3d::WindowProcD3d(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM SetCursor(nullptr); BOOL show = device->m_cursorVisible && device->m_hardwareCursor ? TRUE : FALSE; device->m_d3dDevice->ShowCursor(show); + return 1; } } - - return 1; + break; } case WM_DISPLAYCHANGE: {