backends/eis: Add a new API to get the fd from MetaEIS

This is preparation work for supporting ConnectToEIS.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2628>
This commit is contained in:
Olivier Fourdan
2022-09-28 17:52:50 +02:00
committed by Carlos Garnacho
parent a6d406d7bf
commit 812eeddfde
2 changed files with 7 additions and 0 deletions

View File

@ -239,6 +239,12 @@ eis_logger (struct eis *eis,
}
}
int
meta_eis_add_client_get_fd (MetaEis *meta_eis)
{
return eis_backend_fd_add_client (meta_eis->eis);
}
static int
try_and_find_free_eis_socket (MetaEis *meta_eis)
{