[client] wayland: pass mouse wheel motion events to imgui
This commit is contained in:
1 parent
7ca5e14938
commit
72ccd44681
1 file changed
+1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user