summaryrefslogtreecommitdiff
path: root/src/managers
diff options
context:
space:
mode:
authorssareta <ssareta@protonmail.com>2026-03-29 04:35:58 +1300
committerGitHub <noreply@github.com>2026-03-28 15:35:58 +0000
commit420ee44eedbe153c720ab14d566c417484e3049c (patch)
tree45ab6397c7a8bfc609815d2877c00016092f6807 /src/managers
parent1c25bcc811664a0dc206f3e4e616b88f5581e83d (diff)
protocols: allow xdg-foreign to be used by sandboxed apps (#13854)
* allowlist xdgForeignExporter * also allow importer
Diffstat (limited to 'src/managers')
-rw-r--r--src/managers/ProtocolManager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/managers/ProtocolManager.cpp b/src/managers/ProtocolManager.cpp
index 6388ef8a..a2b34ced 100644
--- a/src/managers/ProtocolManager.cpp
+++ b/src/managers/ProtocolManager.cpp
@@ -363,6 +363,8 @@ bool CProtocolManager::isGlobalPrivileged(const wl_global* global) {
PROTO::xdgBell->getGlobal(),
PROTO::fifo->getGlobal(),
PROTO::commitTiming->getGlobal(),
+ PROTO::xdgForeignExporter->getGlobal(),
+ PROTO::xdgForeignImporter->getGlobal(),
PROTO::sync ? PROTO::sync->getGlobal() : nullptr,
PROTO::mesaDRM ? PROTO::mesaDRM->getGlobal() : nullptr,
PROTO::linuxDma ? PROTO::linuxDma->getGlobal() : nullptr,