Commit bf7fffde authored by Peter Hutterer's avatar Peter Hutterer

Don't init the horiz scroll property on non-pointer devices

Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 72821777
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment