mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2025-12-31 17:00:10 +01:00
eis: drop the seat when the client requests it
This commit is contained in:
parent
b481eff34c
commit
e84ddd1471
1 changed files with 6 additions and 2 deletions
|
|
@ -82,8 +82,12 @@ eis_seat_get_client(struct eis_seat *seat)
|
|||
static int
|
||||
client_msg_release(struct eis_seat *seat)
|
||||
{
|
||||
/* FIXME: not tested since there's no public API to remove a seat */
|
||||
eis_seat_event_destroyed(seat);
|
||||
/* There is no public API in libei to remove a seat, and there's no
|
||||
* public API in libeis to know the client has released the seat. it's
|
||||
* too niche to care about. So here we simply pretend it's bound to 0
|
||||
* and remove it, that should do the trick.
|
||||
*/
|
||||
eis_seat_drop(seat);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue