touchpad: use a helper function for the libinput context

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2017-01-25 15:19:22 +10:00
parent 13a2336beb
commit b2109ca535

View 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);