protocols: allow xdg-foreign to be used by sandboxed apps (#13854)

* allowlist xdgForeignExporter

* also allow importer
This commit is contained in:
ssareta 2026-03-29 04:35:58 +13:00 committed by GitHub
parent 1c25bcc811
commit 420ee44eed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,