mirror of
https://github.com/glfw/glfw.git
synced 2025-06-15 20:22:15 +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:
|
case WM_SETCURSOR:
|
||||||
{
|
{
|
||||||
if (window->cursorMode == GLFW_CURSOR_HIDDEN &&
|
if ((window->cursorMode == GLFW_CURSOR_HIDDEN ||
|
||||||
|
window->cursorMode == GLFW_CURSOR_DISABLED) &&
|
||||||
window->win32.handle == GetForegroundWindow() &&
|
window->win32.handle == GetForegroundWindow() &&
|
||||||
LOWORD(lParam) == HTCLIENT)
|
LOWORD(lParam) == HTCLIENT)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user