touchpad: use a helper function for the libinput context
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 25 Jan 2017 05:19:22 +0000 (15:19 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 25 Jan 2017 07:08:51 +0000 (17:08 +1000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/evdev-mt-touchpad.c

index 00f088d..56822df 100644 (file)
@@ -1519,7 +1519,7 @@ tp_dwt_pair_keyboard(struct evdev_device *touchpad,
        tp->dwt.keyboard = keyboard;
        tp->dwt.keyboard_active = false;
 
-       log_debug(touchpad->base.seat->libinput,
+       log_debug(evdev_libinput_context(touchpad),
                  "palm: dwt activated with %s<->%s\n",
                  touchpad->devname,
                  keyboard->devname);