From 618d67cf6a588e0f45f15a464a624f4f650f559f Mon Sep 17 00:00:00 2001 From: Michael Catanzaro Date: Thu, 29 Jun 2023 15:26:09 -0500 Subject: [PATCH] flatpak: update permissions GTK 4 apps want OpenGL access. Also, we don't need dconf access anymore. And we don't need X11 access when running under Wayland. Part-of: --- org.gnome.Chess.json | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/org.gnome.Chess.json b/org.gnome.Chess.json index 94c9400..229f0c8 100644 --- a/org.gnome.Chess.json +++ b/org.gnome.Chess.json @@ -8,13 +8,11 @@ "tags": ["nightly"], "desktop-file-name-prefix": "(Nightly) ", "finish-args": [ - /* X11 + XShm access */ - "--share=ipc", "--socket=x11", - /* Wayland access */ + "--share=ipc", + "--socket=fallback-x11", "--socket=wayland", - /* dconf */ - "--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro", - "--talk-name=ca.desrt.dconf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf" + "--device=dri", + "--metadata=X-DConf=migrate-path=/org/gnome/Chess/" ], "build-options": { "prepend-path": "/usr/lib/sdk/vala-nightly/bin/",