mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-11-29 20:58:18 +00:00
[client] wayland: make cursor change work without wl_pointer
This commit is contained in:
@@ -217,5 +217,6 @@ void waylandSetPointer(LG_DSPointer pointer)
|
||||
wlWm.cursor = wlWm.cursors[pointer];
|
||||
wlWm.cursorHotX = wlWm.cursorHot[pointer].x;
|
||||
wlWm.cursorHotY = wlWm.cursorHot[pointer].y;
|
||||
wl_pointer_set_cursor(wlWm.pointer, wlWm.pointerEnterSerial, wlWm.cursor, wlWm.cursorHotX, wlWm.cursorHotY);
|
||||
if (wlWm.pointer)
|
||||
wl_pointer_set_cursor(wlWm.pointer, wlWm.pointerEnterSerial, wlWm.cursor, wlWm.cursorHotX, wlWm.cursorHotY);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user