Fix inverted table wheel on wayland
The tablet wheel direction matches the mouse wheel which also needed to be inverted.
This commit is contained in:
@@ -4673,7 +4673,7 @@ static void tablet_tool_handle_frame(void *data,
|
||||
}
|
||||
case GWL_TabletTool_EventTypes::Wheel: {
|
||||
seat->system->pushEvent_maybe_pending(
|
||||
new GHOST_EventWheel(event_ms, win, tablet_tool->frame_pending.wheel.clicks));
|
||||
new GHOST_EventWheel(event_ms, win, -tablet_tool->frame_pending.wheel.clicks));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user