mirror of
https://github.com/glfw/glfw.git
synced 2025-06-15 12:12:16 +00:00
Merge 9afd5171ea
into 6e68d89e0f
This commit is contained in:
commit
dbb2fe98ee
@ -696,7 +696,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