summaryrefslogtreecommitdiff
path: root/test/log.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2014-06-12 11:44:31 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2014-06-23 15:39:08 +1000
commit6250397ac8a7a23fb41c726b9555d93ead0f1dc8 (patch)
treebe028c08adbcd424b3a9fad8d8bea5b072ba4522 /test/log.c
parent3f500b657f5e9f90ade90a6f2678d8596cd6b799 (diff)
downloadlibinput-6250397ac8a7a23fb41c726b9555d93ead0f1dc8.tar.gz
udev: split libinput_udev context init into two functions
This is preparation work for context-specific log handlers. Callers are now encouraged to first initialize the context with libinput_udev_create_context() and then set the seat for this context with libinput_udev_assign_seat(). In the upcoming patch to support context-specific log handlers this enables a caller to set the log handler for a context before any devices are initialized. Otherwise, a log message generated by a new device may pass a libinput context that the caller is not yet aware of. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'test/log.c')
0 files changed, 0 insertions, 0 deletions