[client] wayland: synchronize host cursor position with guest

This mirrors the x11 implementation, allowing the pointer to move
correctly into overlapping windows.
This commit is contained in:
Quantum
2021-05-03 18:43:03 -04:00
committed by Geoffrey McRae
parent d0a12f6097
commit ee380451ca
3 changed files with 9 additions and 5 deletions

View File

@@ -190,7 +190,6 @@ void waylandCBRelease(void);
// cursor module
bool waylandCursorInit(void);
void waylandCursorFree(void);
void waylandGuestPointerUpdated(double x, double y, int localX, int localY);
void waylandShowPointer(bool show);
// gl module
@@ -228,6 +227,7 @@ void waylandUngrabKeyboard(void);
void waylandUngrabPointer(void);
void waylandRealignPointer(void);
void waylandWarpPointer(int x, int y, bool exiting);
void waylandGuestPointerUpdated(double x, double y, int localX, int localY);
// output module
bool waylandOutputInit(void);