kwin/libinput
Vlad Zagorodniy 7f593a67ad Send axis_source, axis_discrete, and axis_stop
Summary:
So far KWin didn't send axis_source, axis_discrete, and axis_stop. Even
though most of those events are optional, clients need them to work as
expected. For example, one needs axis_source and axis_stop to implement
kinetic scrolling; Xwayland needs axis_discrete to prevent multiple
scroll events when the compositor sends axis deltas greater than 10, etc.

BUG: 404152
FIXED-IN: 5.17.0

Test Plan:
* Content of a webpage in Firefox is moved by one line per each mouse
  wheel "click";
* Scrolled gedit using 2 fingers on GNOME Shell, sway, and KDE Plasma;
  in all three cases wayland debug looked the same (except diagonal scroll
  motions).

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: davidedmundson, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D19000
2019-05-17 12:06:10 +03:00
..
connection.cpp Send axis_source, axis_discrete, and axis_stop 2019-05-17 12:06:10 +03:00
connection.h Send axis_source, axis_discrete, and axis_stop 2019-05-17 12:06:10 +03:00
context.cpp
context.h
device.cpp [libinput] Add support for clickfinger and button areas click method 2018-12-22 17:29:49 +01:00
device.h Make it possible to autodetect the tablet mode 2019-03-22 18:29:21 +01:00
events.cpp Send axis_source, axis_discrete, and axis_stop 2019-05-17 12:06:10 +03:00
events.h Send axis_source, axis_discrete, and axis_stop 2019-05-17 12:06:10 +03:00
libinput_logging.cpp
libinput_logging.h