From bb13697c01e28a451b54aac8bd615788f8f49399 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 22 Apr 2021 17:22:57 +0200 Subject: [PATCH] Add wlroots to portal manifest UseIn list XDG_CURRENT_DESKTOP can contain a list [1]. Allow users to set a list such as XDG_CURRENT_DESKTOP=asdf:wlroots. That way, users can use xdpw in their non-Sway compositor without specifying XDG_CURRENT_DESKTOP=sway and without having to edit the portal definition. [1]: https://github.com/flatpak/xdg-desktop-portal/blob/9a2582d035a397efbb330c53f893d5649c1fd749/src/portal-impl.c#L189 --- wlr.portal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wlr.portal b/wlr.portal index fac20fb..e5fcbfd 100644 --- a/wlr.portal +++ b/wlr.portal @@ -1,4 +1,4 @@ [portal] DBusName=org.freedesktop.impl.portal.desktop.wlr Interfaces=org.freedesktop.impl.portal.Screenshot;org.freedesktop.impl.portal.ScreenCast; -UseIn=sway;Wayfire;river +UseIn=wlroots;sway;Wayfire;river