Fixed setMouseCursorGrabbed
This commit is contained in:
parent
9029118536
commit
0535e322d4
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user