]> git.mdlowis.com Git - proto/labwc.git/commit
Add labwc to XDG_CURRENT_DESKTOP to support a portals.conf (#1716)
authorRick Calixte <10281587+rcalixte@users.noreply.github.com>
Tue, 1 Oct 2024 20:33:45 +0000 (16:33 -0400)
committerGitHub <noreply@github.com>
Tue, 1 Oct 2024 20:33:45 +0000 (21:33 +0100)
commit5b774e6e99379b3d0e8e652c452fc51fa421b42f
tree2e50fdd0bacf91bef15726081643ea936a5796b9
parentd18e67eea8e0e980ceffbb540a0d1f5521073733
Add labwc to XDG_CURRENT_DESKTOP to support a portals.conf (#1716)

The previous `UseIn` key was deprecated in xdg-desktop-portal 1.17/1.18.
It has been superceded by the portals.conf structure so that each
desktop can configure the precise desired structure for portals. In
addition, support was added to the Desktop Entry Specifications to
support a `DesktopNames` key that login managers will use to set
XDG_CURRENT_DESKTOP.

* [portals.conf
  Documentation](https://github.com/flatpak/xdg-desktop-portal/blob/main/doc/portals.conf.rst.in)
* [Example
  sway-portals.conf](https://salsa.debian.org/swaywm-team/sway/-/blob/debian/sid/debian/sway-portals.conf)
* [Desktop Entry
  Specifications](https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html)

Ref: flatpak/xdg-desktop-portal#955
data/labwc-portals.conf [new file with mode: 0644]
data/labwc.desktop
docs/environment
meson.build
src/config/session.c