mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 05:53:40 +00:00
[client] mouse: do not warp the cursor if it's outside the window
This commit is contained in:
parent
16f88a5285
commit
1da24af6ee
@ -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 New Issue
Block a user