summaryrefslogtreecommitdiff
path: root/libs/wlroots/wlroots-libinput-switch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libs/wlroots/wlroots-libinput-switch.patch')
-rw-r--r--libs/wlroots/wlroots-libinput-switch.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/libs/wlroots/wlroots-libinput-switch.patch b/libs/wlroots/wlroots-libinput-switch.patch
new file mode 100644
index 0000000..3a963ea
--- /dev/null
+++ b/libs/wlroots/wlroots-libinput-switch.patch
@@ -0,0 +1,12 @@
+--- a/backend/libinput/switch.c
++++ b/backend/libinput/switch.c
+@@ -37,6 +37,8 @@
+ case LIBINPUT_SWITCH_TABLET_MODE:
+ wlr_switch_type = WLR_SWITCH_TYPE_TABLET_MODE;
+ break;
++ case LIBINPUT_SWITCH_KEYPAD_SLIDE:
++ return;
+ }
+
+ struct libinput_event_switch *sevent =
+