mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +00:00
[client] mouse: stop setGrabQuiet
from grabbing/ungrabbing the pointer
As LG always operates in relitive mode, the actual pointer grab/ungrab is managed by the move handler, as such setGrabQuiet should not alter the grab/ungrab state of the local pointer.
This commit is contained in:
parent
48f002992a
commit
dc3d07302f
@ -1213,8 +1213,6 @@ static void setGrabQuiet(bool enable)
|
||||
|
||||
if (enable)
|
||||
{
|
||||
g_state.ds->grabPointer();
|
||||
|
||||
if (params.grabKeyboard)
|
||||
g_state.ds->grabKeyboard();
|
||||
}
|
||||
@ -1225,8 +1223,6 @@ static void setGrabQuiet(bool enable)
|
||||
if (!g_state.focused || !params.grabKeyboardOnFocus)
|
||||
g_state.ds->ungrabKeyboard();
|
||||
}
|
||||
|
||||
g_state.ds->ungrabPointer();
|
||||
}
|
||||
|
||||
// if exiting capture when input on capture only, we want to show the cursor
|
||||
|
Loading…
Reference in New Issue
Block a user