diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2015-06-01 11:41:09 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2015-06-01 11:46:33 +1000 |
commit | d4e0b5420ff2af2e790f12d10996f93ec6066b4a (patch) | |
tree | 8809b60618cdc917311f910336e457c6e44e9fa8 | |
parent | 19c91044e44dd31deaeb638a919c64e9a9182448 (diff) |
Fix missing scroll methods default/scroll button property
Even if no scroll method is enabled by default, we still want those
properties.
Introduced in 8d4e03570c.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/libinput.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libinput.c b/src/libinput.c index 3cc4426..595b177 100644 --- a/src/libinput.c +++ b/src/libinput.c @@ -2242,9 +2242,6 @@ LibinputInitScrollMethodsProperty(DeviceIntPtr dev, return; scroll_methods = libinput_device_config_scroll_get_default_method(device); - if (scroll_methods == LIBINPUT_CONFIG_SCROLL_NO_SCROLL) - return; - if (scroll_methods & LIBINPUT_CONFIG_SCROLL_2FG) methods[0] = TRUE; if (scroll_methods & LIBINPUT_CONFIG_SCROLL_EDGE) |