git.lucas.co / cce-compositor
Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git

commit5fdaceeafaa35941ab53222457fcecc6a66bd650
parent9126b4e3d4
authorIsaac Freund <[email protected]>
date2025-07-03 15:35
security-context: add river_window_manager_v1 to blocklist

This fixes an assertion failure when the security-context-v1 protocol
is used (e.g. by flatpak).

 river/Server.zig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/river/Server.zig b/river/Server.zig
index 1bea726..f859453 100644
--- a/river/Server.zig
+++ b/river/Server.zig
@@ -307,6 +307,7 @@ fn allowlist(server: *Server, global: *const wl.Global) bool {
 /// Returns true if the global is blocked for security contexts
 fn blocklist(server: *Server, global: *const wl.Global) bool {
     return global == server.security_context_manager.global or
+        global == server.wm.global or
         global == server.foreign_toplevel_manager.global or
         global == server.screencopy_manager.global or
         global == server.export_dmabuf_manager.global or