mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[client] spice: set inView false if the focus is lost
Failure to do this results in loss of input on X11 as we need to be sure the cursor is ungrabbed.
This commit is contained in:
parent
ac3333c0d2
commit
f883c630f6
@ -148,6 +148,9 @@ void app_handleFocusEvent(bool focused)
|
||||
g_state.ds->ungrabKeyboard();
|
||||
}
|
||||
|
||||
if (!focused)
|
||||
setCursorInView(false);
|
||||
|
||||
g_state.focused = focused;
|
||||
g_cursor.realign = true;
|
||||
g_state.ds->realignPointer();
|
||||
|
Loading…
Reference in New Issue
Block a user