feat: better wayland client integration.

This commit is contained in:
Alexandre Pujol 2023-05-27 23:54:53 +01:00
parent 55da5276dd
commit 3c41453591
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
29 changed files with 36 additions and 51 deletions

View file

@ -22,6 +22,7 @@ profile xdg-desktop-portal-gnome @{exec_path} {
include <abstractions/mesa>
include <abstractions/user-download>
include <abstractions/vulkan>
include <abstractions/wayland>
dbus send bus=session path=/org/freedesktop/DBus
interface=org.freedesktop.DBus
@ -124,8 +125,6 @@ profile xdg-desktop-portal-gnome @{exec_path} {
owner @{user_share_dirs}/ r,
owner @{run}/user/@{uid}/wayland-[0-9]* rw,
owner @{run}/user/@{uid}/wayland-cursor-shared-* rw,
owner @{run}/user/@{uid}/gdm/Xauthority r,
@{run}/mount/utab r,

View file

@ -24,6 +24,7 @@ profile xdg-desktop-portal-gtk @{exec_path} {
include <abstractions/thumbnails-cache-read>
include <abstractions/user-download>
include <abstractions/user-write>
include <abstractions/wayland>
unix (send, receive, connect) type=stream peer=(addr="@/tmp/.X11-unix/*", label=gnome-shell),
@ -169,8 +170,6 @@ profile xdg-desktop-portal-gtk @{exec_path} {
@{run}/user/@{uid}/xauth_* rl,
owner @{run}/user/@{uid}/.mutter-Xwaylandauth.[0-9A-Z]* rw,
owner @{run}/user/@{uid}/gdm/Xauthority r,
owner @{run}/user/@{uid}/wayland-[0-9]* rw,
owner @{run}/user/@{uid}/wayland-cursor-shared-* rw,
owner @{PROC}/@{pid}/mountinfo r,