D19000: Send axis_source, axis_discrete, and axis_stop

Vlad Zagorodniy <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
zzag created this revision.
zzag added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
zzag requested review of this revision.

REVISION 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.16.0

REPOSITORY
  R108 KWin

BRANCH
  implement-axis-discrete-event

REVISION DETAIL
  https://phabricator.kde.org/D19000

AFFECTED FILES
  autotests/libinput/input_event_test.cpp
  autotests/libinput/mock_libinput.cpp
  autotests/libinput/mock_libinput.h
  autotests/libinput/pointer_event_test.cpp
  input.cpp
  input.h
  input_event.cpp
  input_event.h
  kwinnamespace.h
  libinput/connection.cpp
  libinput/connection.h
  libinput/events.cpp
  libinput/events.h
  platform.cpp
  platform.h
  plugins/platforms/wayland/wayland_backend.cpp
  plugins/platforms/x11/windowed/x11windowed_backend.cpp
  pointer_input.cpp
  pointer_input.h

To: zzag, #kwin
Cc: kwin, jraleigh, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, alexeymin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.