mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 20:12:06 +00:00
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:
parent
a6d406d7bf
commit
812eeddfde
@ -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)
|
||||
{
|
||||
|
@ -34,6 +34,7 @@ G_DECLARE_FINAL_TYPE (MetaEis, meta_eis,
|
||||
|
||||
MetaEis * meta_eis_new (MetaBackend *backend);
|
||||
MetaBackend * meta_eis_get_backend (MetaEis *meta_eis);
|
||||
int meta_eis_add_client_get_fd (MetaEis *meta_eis);
|
||||
void meta_eis_remove_all_clients (MetaEis *meta_eis);
|
||||
|
||||
#endif /* META_EIS_H */
|
||||
|
Loading…
Reference in New Issue
Block a user