mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-01 08:10:09 +01:00
doc: update doc to explicitly state that the seat isn't referenced
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
e1915b53b5
commit
c2dfe504ed
1 changed files with 5 additions and 0 deletions
|
|
@ -3078,6 +3078,11 @@ libinput_device_get_output_name(struct libinput_device *device);
|
|||
* seat name pair at any given time, but if no external reference is kept, it
|
||||
* may be destroyed if no device belonging to it is left.
|
||||
*
|
||||
* The returned seat is not refcounted and may become invalid after
|
||||
* the next call to libinput. Use libinput_seat_ref() and
|
||||
* libinput_seat_unref() to continue using the handle outside of the
|
||||
* immediate scope.
|
||||
*
|
||||
* @param device A previously obtained device
|
||||
* @return The seat this input device belongs to
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue