summaryrefslogtreecommitdiff
path: root/src/managers/ProtocolManager.cpp
diff options
context:
space:
mode:
authorOtto Modinos <ottomodinos@gmail.com>2025-06-13 01:27:30 +0300
committerGitHub <noreply@github.com>2025-06-13 00:27:30 +0200
commitd14f81e6ac3debd57f8e3e70ead5bb52606a8c90 (patch)
treed39b17ba159ff248bb2cc60aa8711a7290d33241 /src/managers/ProtocolManager.cpp
parent826061d1668a0d3fce5eea066f7c9b9ce0076c86 (diff)
protocols: whitelist wp_color_manager_v1 for security_context (#10723)
Now that `wine` (and `proton`) supports Wayland it makes sense to allow the `wp_color_manager_v1` in Flatpak for native HDR without the need for `gamescope`!
Diffstat (limited to 'src/managers/ProtocolManager.cpp')
-rw-r--r--src/managers/ProtocolManager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/managers/ProtocolManager.cpp b/src/managers/ProtocolManager.cpp
index 942e7954..4748debf 100644
--- a/src/managers/ProtocolManager.cpp
+++ b/src/managers/ProtocolManager.cpp
@@ -336,6 +336,7 @@ bool CProtocolManager::isGlobalPrivileged(const wl_global* global) {
PROTO::sync ? PROTO::sync->getGlobal() : nullptr,
PROTO::mesaDRM ? PROTO::mesaDRM->getGlobal() : nullptr,
PROTO::linuxDma ? PROTO::linuxDma->getGlobal() : nullptr,
+ PROTO::colorManagement ? PROTO::colorManagement->getGlobal() : nullptr,
};
// clang-format on