diff options
-rw-r--r-- | src/xf86libinput.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xf86libinput.c b/src/xf86libinput.c index 24219a6..8646c6d 100644 --- a/src/xf86libinput.c +++ b/src/xf86libinput.c @@ -4653,6 +4653,9 @@ LibinputInitHorizScrollProperty(DeviceIntPtr dev, { BOOL enabled = driver_data->options.horiz_scrolling_enabled; + if ((driver_data->capabilities & CAP_POINTER) == 0) + return; + prop_horiz_scroll = LibinputMakeProperty(dev, LIBINPUT_PROP_HORIZ_SCROLL_ENABLED, XA_INTEGER, 8, |