README: swap to RemoteDesktop over the nonexistent EmulatedInput portal

At least for event replaying it looks like we'll go through the
RemoteDesktop portal instead of creating another one that doesn't
provide any additional benefits.

See https://github.com/flatpak/xdg-desktop-portal/pull/762
This commit is contained in:
Peter Hutterer 2022-09-08 09:07:10 +10:00
parent 903baf27ba
commit 97254391dc

View file

@ -232,7 +232,7 @@ Flatpak would be:
| after +-------+------------------+
initial| handover /
connection| / initial request
| / dbus[org.freedesktop.portal.EmulatedInput]
| / dbus[org.freedesktop.portal.RemoteDesktop.ConnectToEIS]
+--------------------+
| xdg-desktop-portal |
+--------------------+
@ -240,7 +240,7 @@ Flatpak would be:
The current approach works so that
- the compositor starts an `libeis` socket backend at `$XDG_RUNTIME_DIR/eis-0`
- `xdg-desktop-portal` provides `org.freedesktop.portal.EmulatedInput`
- `xdg-desktop-portal` provides `org.freedesktop.portal.RemoteDesktop.ConnectToEIS`
- a client connects to the `xdg-desktop-portal` to request emulated input
- `xdg-desktop-portal` authenticates a client and opens the initial
connection to the `libeis` socket. It restricts the capabilities available