ps: Add gnome to background portal backend list

This is used for the active and background columns.

(cherry picked from commit cf76cb61ba)
This commit is contained in:
Chris Williams
2024-03-16 15:56:54 -04:00
committed by Simon McVittie
parent ee0a0f0096
commit b310fcee67

View File

@@ -72,6 +72,8 @@ get_compositor_apps (void)
g_autoptr(GVariant) ret = NULL;
GVariant *list = NULL;
const char *backends[] = {
"org.freedesktop.impl.portal.desktop.gnome",
/* Background portal was removed in 1.15.0, retained for compatibility */
"org.freedesktop.impl.portal.desktop.gtk",
"org.freedesktop.impl.portal.desktop.kde",
NULL