fix(d3d): fix cursor shape for non-client window area

This commit is contained in:
VDm 2025-03-30 12:41:01 +04:00
parent 41f4992ebe
commit 9c0c0c64ba

View File

@ -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: {