[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

@@ -106,7 +106,3 @@ void waylandShowPointer(bool show)
wlWm.showPointer = show;
wl_pointer_set_cursor(wlWm.pointer, wlWm.pointerEnterSerial, show ? wlWm.cursor : NULL, 0, 0);
}
void waylandGuestPointerUpdated(double x, double y, int localX, int localY)
{
}