emersion / xdg-desktop-portal-wlr

xdg-desktop-portal backend for wlroots
MIT License
579 stars 54 forks source link

Drop wlr.portal #295

Open emersion opened 5 months ago

emersion commented 5 months ago

xdg-desktop-portal has a new way to find portal implementations now.

emersion commented 5 months ago

Hm, is the whole portal file the right thing to do? Is it now unused? Should we just drop the UseIn part instead?

alebastr commented 5 months ago

wlr.portal is still used to resolve wlr in portals conf and determine supported implementations for

[preferred]
default=wlr;gtk

UseIn= will be used as a fallback when portals.conf does not define an implementation for a certain portal. E.g. contrib/wlroots-portals.conf in this repo does not have an entry for ScreenCast and default=gtk doesn't implement it, but things work because UseIn fallback lookup returns wlr.

emersion commented 5 months ago

Alright, let's keep this for later then.