From 97254391dcd85040def427fa4b454f4cd9059191 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 8 Sep 2022 09:07:10 +1000 Subject: [PATCH] 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 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index eb333fb..066b37c 100644 --- a/README.md +++ b/README.md @@ -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