0009-weston-add-input-event.patch 617 B

1234567891011121314151617
  1. Weston ignore LIBINPUT_EVENT_POINTER_SCROLL_WHEEL(404) input event.
  2. Signed-off-by: Leo Lu <leo.lu@starfivetech.com>
  3. diff -purN a/libweston/libinput-device.c b/libweston/libinput-device.c
  4. --- a/libweston/libinput-device.c 2023-08-22 13:50:41.901537810 +0800
  5. +++ b/libweston/libinput-device.c 2023-08-22 13:51:16.129770832 +0800
  6. @@ -565,6 +565,8 @@ evdev_device_process_event(struct libinp
  7. handle_touch_frame(libinput_device,
  8. libinput_event_get_touch_event(event));
  9. break;
  10. + case LIBINPUT_EVENT_POINTER_SCROLL_WHEEL:
  11. + return 0;
  12. default:
  13. handled = 0;
  14. weston_log("unknown libinput event %d\n",