mirror of
https://github.com/glfw/glfw.git
synced 2025-06-14 19:52:14 +00:00
This commit is contained in:
parent
124bc392ab
commit
6b4b62c56c
@ -679,7 +679,8 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg,
|
||||
|
||||
case WM_SETCURSOR:
|
||||
{
|
||||
if (window->cursorMode == GLFW_CURSOR_HIDDEN &&
|
||||
if ((window->cursorMode == GLFW_CURSOR_HIDDEN ||
|
||||
window->cursorMode == GLFW_CURSOR_DISABLED) &&
|
||||
window->win32.handle == GetForegroundWindow() &&
|
||||
LOWORD(lParam) == HTCLIENT)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user