Fixed setMouseCursorGrabbed

This commit is contained in:
Franckltung 2020-12-01 15:44:05 -05:00 committed by Lukas Dürrenberger
parent 9029118536
commit 0535e322d4

View File

@ -1145,7 +1145,9 @@ void WindowImplX11::setMouseCursorGrabbed(bool grabbed)
}
else
{
// Release the cursor from the window and disable cursor grabbing
XUngrabPointer(m_display, CurrentTime);
m_cursorGrabbed = false;
}
}