diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2014-06-12 11:44:31 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2014-06-23 15:39:08 +1000 |
commit | 6250397ac8a7a23fb41c726b9555d93ead0f1dc8 (patch) | |
tree | be028c08adbcd424b3a9fad8d8bea5b072ba4522 /doc | |
parent | 3f500b657f5e9f90ade90a6f2678d8596cd6b799 (diff) | |
download | libinput-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 'doc')
-rw-r--r-- | doc/libinput.doxygen.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/libinput.doxygen.in b/doc/libinput.doxygen.in index f78b7cf9..9f931c34 100644 --- a/doc/libinput.doxygen.in +++ b/doc/libinput.doxygen.in @@ -1570,7 +1570,8 @@ INCLUDE_FILE_PATTERNS = # undefined via #undef or recursively expanded use the := operator # instead of the = operator. -PREDEFINED = LIBINPUT_ATTRIBUTE_PRINTF(f,a)= +PREDEFINED = LIBINPUT_ATTRIBUTE_PRINTF(f, a)= \ + LIBINPUT_ATTRIBUTE_DEPRECATED # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then # this tag can be used to specify a list of macro names that should be expanded. |