mirror of
https://github.com/X11Libre/xf86-input-libinput.git
synced 2026-04-14 10:54:17 +00:00
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>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user