forked from wayland-tablet/libinput
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fallback: change a list of if conditions to a switch statement
This used to do a lot more but now it can be handled as simple switch statement. Bonus: we get to log a bug if we ever get here in NONE state. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
- Loading branch information
Showing
1 changed file
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters