mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 14:21:57 +00:00
[client] wayland: pass mouse wheel motion events to imgui
This commit is contained in:
parent
7ca5e14938
commit
72ccd44681
1 changed files with 1 additions and 0 deletions
|
@ -93,6 +93,7 @@ static void pointerAxisHandler(void * data, struct wl_pointer * pointer,
|
|||
4 /* SPICE_MOUSE_BUTTON_UP */;
|
||||
app_handleButtonPress(button);
|
||||
app_handleButtonRelease(button);
|
||||
app_handleWheelMotion(wl_fixed_to_double(value) / 15.0);
|
||||
}
|
||||
|
||||
static int mapWaylandToSpiceButton(uint32_t button)
|
||||
|
|
Loading…
Reference in a new issue