mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-12-07 08:38:13 +00:00
[client] spice: use xlib directly for warping
This change allows us to look for and filter out the warp completion event as we can obtain and use the serial number of the warp request to do so. This is far more elegant then the x/y match that we were doing prior.
This commit is contained in:
@@ -209,6 +209,7 @@ struct CursorState
|
||||
|
||||
/* the mouse warp state and target */
|
||||
enum WarpState warpState;
|
||||
unsigned long warpSerial;
|
||||
SDL_Point warpTo;
|
||||
|
||||
/* the guest's cursor position */
|
||||
|
||||
Reference in New Issue
Block a user