mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 14:21:57 +00:00
[client] mouse: do not warp the cursor if it's outside the window
This commit is contained in:
parent
16f88a5285
commit
1da24af6ee
1 changed files with 3 additions and 0 deletions
|
@ -897,6 +897,9 @@ void spiceClipboardRequest(const SpiceDataType type)
|
|||
|
||||
static void warpPointer(int x, int y, bool exiting)
|
||||
{
|
||||
if (!g_cursor.inWindow)
|
||||
return;
|
||||
|
||||
if (g_cursor.warpState == WARP_STATE_OFF)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue