https://bugs.kde.org/show_bug.cgi?id=479013

--- Comment #6 from Nicolas Fella <nicolas.fe...@gmx.de> ---
Git commit 9bfcb5b1469079eced1c8b9f650792dc213be7a3 by Nicolas Fella, on behalf
of Prajna Sariputra.
Committed on 28/01/2024 at 13:55.
Pushed by nicolasfella into branch 'Plasma/6.0'.

RemoteDesktop: Include clipboard_enabled and the restore data even when no
screens are requested

The [portal
documentation](https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.RemoteDesktop.html)
says that the Start call should return at least three values, which are
`devices`, `clipboard_enabled` and `restore_token`, regardless of whether
screens are included in the portal request.

In particular this fixes persistence not working for apps that only request
inputs and not screens like KDE Connect's remote input plugin (I have some WIP
code for that here:
https://invent.kde.org/psariputra/kdeconnect-kde/-/commit/89ca5684ed4b650cfdbf98ceb067cdf1927a5d41)
(cherry picked from commit 356e7f9eda11821a6c0048eca4ff1bcb983ca486)

M  +11   -11   src/remotedesktop.cpp

https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/commit/9bfcb5b1469079eced1c8b9f650792dc213be7a3

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to