[client] wayland: pass mouse wheel motion events to imgui

This commit is contained in:
Quantum authored and Geoffrey McRae committed 2021-07-31 14:58:35 +10:00
1 parent 7ca5e14938
commit 72ccd44681
1 file changed
+1
+1
View File
@@ -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)