kwin/libinput
Roman Gilg fd07b1dc98 [libinput] Change unset of scroll method and acceleration profile
Go for a more intuitive unset behaviour of scroll method and acceleration
profile properties.

Summary:
Unsetting a scroll method should only work, if the scroll method is currently
active. For example when scroll-two-finger is active (i.e. scroll-edge,
scroll-on-button-down is not active):
* unsetting scroll-two-finger should deactivate it and activate no-scroll
* but unsetting for example scroll-edge should _not_ deactivate scroll-two-
  finger and _not_ activate no-scroll

Reworked setting scroll method auto test in order to test it.

Regarding acceleration profiles: Unsetting one, should always switch to the
other possible one as long as both are supported. In this case
LIBINPUT_CONFIG_ACCEL_PROFILE_NONE is not a valid option in contrast to the
definition of the scroll method enums.

Reviewers: #kwin

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D3590
2016-12-06 13:45:54 +01:00
..
connection.cpp [libinput] Add more support for pointer devices, in particular touchpads 2016-12-02 14:58:56 +01:00
connection.h [libinput] Add more support for pointer devices, in particular touchpads 2016-12-02 14:58:56 +01:00
context.cpp [libinput] A not valid LibInput::Context should return -1 as filedescriptor 2016-06-02 16:23:23 +02:00
context.h
device.cpp [libinput] Change unset of scroll method and acceleration profile 2016-12-06 13:45:54 +01:00
device.h [libinput] Change unset of scroll method and acceleration profile 2016-12-06 13:45:54 +01:00
events.cpp Support for relative pointer motion events 2016-10-12 11:26:46 +02:00
events.h Support for relative pointer motion events 2016-10-12 11:26:46 +02:00
libinput_logging.cpp pedantic fixes 2016-07-16 13:14:44 -04:00
libinput_logging.h