-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'JH7110_MM_v5.6.1' into vf2-devel
- Loading branch information
Showing
1 changed file
with
17 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Weston ignore LIBINPUT_EVENT_POINTER_SCROLL_WHEEL(404) input event. | ||
|
||
Signed-off-by: Leo Lu <leo.lu@starfivetech.com> | ||
|
||
|
||
diff -purN a/libweston/libinput-device.c b/libweston/libinput-device.c | ||
--- a/libweston/libinput-device.c 2023-08-22 13:50:41.901537810 +0800 | ||
+++ b/libweston/libinput-device.c 2023-08-22 13:51:16.129770832 +0800 | ||
@@ -565,6 +565,8 @@ evdev_device_process_event(struct libinp | ||
handle_touch_frame(libinput_device, | ||
libinput_event_get_touch_event(event)); | ||
break; | ||
+ case LIBINPUT_EVENT_POINTER_SCROLL_WHEEL: | ||
+ return 0; | ||
default: | ||
handled = 0; | ||
weston_log("unknown libinput event %d\n", |