libinput: log input device to output associations
Helps admins ensure the configuration is correct. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
ed51b62416
commit
6632b6dc72
@ -554,6 +554,12 @@ evdev_device_set_output(struct evdev_device *device,
|
|||||||
device->output_destroy_listener.notify = NULL;
|
device->output_destroy_listener.notify = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
weston_log("associating input device %s with output %s "
|
||||||
|
"(%s by udev)\n",
|
||||||
|
libinput_device_get_sysname(device->device),
|
||||||
|
output->name,
|
||||||
|
device->output_name ?: "none");
|
||||||
|
|
||||||
device->output = output;
|
device->output = output;
|
||||||
device->output_destroy_listener.notify = notify_output_destroy;
|
device->output_destroy_listener.notify = notify_output_destroy;
|
||||||
wl_signal_add(&output->destroy_signal,
|
wl_signal_add(&output->destroy_signal,
|
||||||
|
Loading…
Reference in New Issue
Block a user