[client] mouse: do not warp the cursor if it's outside the window
This commit is contained in:
1 parent
16f88a5285
commit
1da24af6ee
1 file changed
+3
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user