summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2015-03-02 10:42:38 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2015-03-02 10:43:07 +1000
commit2ffd8d14be6e713e7f26b8b220da076171efe427 (patch)
treee504d8550f44806937712ac77022acc9268a5027 /src
parente9a0ee69cb81dea2280c0ae2eeea371c70d7911c (diff)
Apply the configuration before initalizing the property
Otherwise the property contains the device defaults, rather than the xorg.conf options. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r--src/libinput.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libinput.c b/src/libinput.c
index eecd48c..049c15b 100644
--- a/src/libinput.c
+++ b/src/libinput.c
@@ -632,6 +632,7 @@ xf86libinput_init(DeviceIntPtr dev)
if (libinput_device_has_capability(device, LIBINPUT_DEVICE_CAP_TOUCH))
xf86libinput_init_touch(pInfo);
+ LibinputApplyConfig(dev);
LibinputInitProperty(dev);
XIRegisterPropertyHandler(dev, LibinputSetProperty, NULL, NULL);