mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-05-05 18:18:20 +02:00
libeis: make eis_client_get_context() part of the public API
So we don't need to carry two pointers around in the caller.
This commit is contained in:
parent
c5ebd345fd
commit
7509ee257f
2 changed files with 3 additions and 3 deletions
|
|
@ -59,9 +59,6 @@ struct eis_client {
|
|||
struct eis_client *
|
||||
eis_client_new(struct eis *eis, int fd);
|
||||
|
||||
struct eis*
|
||||
eis_client_get_context(struct eis_client *client);
|
||||
|
||||
struct eis_client *
|
||||
eis_client_get_client(struct eis_client *client);
|
||||
|
||||
|
|
|
|||
|
|
@ -325,6 +325,9 @@ eis_get_user_data(struct eis *eis);
|
|||
void
|
||||
eis_set_user_data(struct eis *eis, void *user_data);
|
||||
|
||||
struct eis*
|
||||
eis_client_get_context(struct eis_client *client);
|
||||
|
||||
/**
|
||||
* Returns true if the client is a sender, false otherwise. A sender client may
|
||||
* send events to the EIS implementation, a receiver client expects to receive
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue