tearing-control: fix security-context related assert

This commit is contained in:
Isaac Freund 2024-08-28 11:26:35 +02:00
parent f82b2f5816
commit 55974987b6
No known key found for this signature in database
GPG Key ID: 86DED400DDFD7A11

View File

@ -320,7 +320,8 @@ fn allowlist(server: *Server, global: *const wl.Global) bool {
global == server.input_manager.text_input_manager.global or global == server.input_manager.text_input_manager.global or
global == server.input_manager.tablet_manager.global or global == server.input_manager.tablet_manager.global or
global == server.input_manager.pointer_gestures.global or global == server.input_manager.pointer_gestures.global or
global == server.idle_inhibit_manager.wlr_manager.global; global == server.idle_inhibit_manager.wlr_manager.global or
global == server.tearing_control_manager.global;
} }
/// Returns true if the global is blocked for security contexts /// Returns true if the global is blocked for security contexts