Skip to content

backends/native: Fix logic error

Carlos Garnacho requested to merge wip/carlosg/mode-switch-fix-40 into gnome-40

ClutterInputDevice's get_group_n_modes() vfunc is meant to return -1 for groups that are out of the known range, not within. Fix the early return condition, and let the native backend return correctly the number of modes for the given group.

(Cherry-picked from commit 841ee0a2)

Merge request reports