mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2025-12-29 11:20:08 +01:00
The current implementation of that portal has two methods: EmulateInput to authenticate and Connect to get the fd to the EIS implementation. The portal implementation is in charge of finding EIS and restricting it if need be. This uses libsystemd because we can integrate that with epoll and our libei_dispatch() method. GDBus requires a glib mainloop, so it's not really suitable here. Given how simple this is anyway, it's easy to just do the DBus bits in the caller and then hand the fd to ei_setup_backend_fd(). A eis-fake-portal is provided for testing, this "portal" can use the custom portal bus name and connect the eis-demo-client to the eis-demo-server. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> |
||
|---|---|---|
| .. | ||
| ei-demo-client.c | ||
| eis-demo-server.c | ||
| eis-fake-portal.c | ||