summaryrefslogtreecommitdiff
path: root/libs/wlroots/wlroots-libinput-switch.patch
blob: 3a963eacf3278c31755e5c877ddb33694e12dcaf (plain)
1
2
3
4
5
6
7
8
9
10
11
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 =