mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-05-06 03:38:02 +02: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
|
static int
|
||||||
client_msg_release(struct eis_seat *seat)
|
client_msg_release(struct eis_seat *seat)
|
||||||
{
|
{
|
||||||
/* FIXME: not tested since there's no public API to remove a seat */
|
/* There is no public API in libei to remove a seat, and there's no
|
||||||
eis_seat_event_destroyed(seat);
|
* 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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue