summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedrich Schöller <code@schoeller.se>2015-01-24 02:20:22 +0100
committerPeter Hutterer <peter.hutterer@who-t.net>2015-01-30 09:47:22 +1000
commit45e9b6c64b9bf0a84e3ee0e1fbb8f9f4efc3a8a0 (patch)
tree25fb47208d6d361b692e197be155080d6f3ac075
parentdcdf1e24c8427ecac3bff315b85e8273b849a1da (diff)
Reapply configuration at DEVICE_ON
The driver ignored my xorg configuration. Maybe I am doing something wrong, but I tried to track down the error and came up with this solution. The device is closed after DEVICE_INIT so we need to apply configuration options at DEVICE_ON. Signed-off-by: Friedrich Schöller <code@schoeller.se> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/libinput.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libinput.c b/src/libinput.c
index 85824ce..a24cbff 100644
--- a/src/libinput.c
+++ b/src/libinput.c
@@ -326,6 +326,8 @@ xf86libinput_on(DeviceIntPtr dev)
driver_context.device_enabled_count++;
dev->public.on = TRUE;
+ LibinputApplyConfig(dev);
+
return Success;
}