From 473ef22de2af7c82097534767e56296395f4ab4c Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Fri, 17 May 2024 15:59:49 +0400 Subject: Redraw on lock surface children commits --- src/handlers/compositor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handlers/compositor.rs b/src/handlers/compositor.rs index d12140e6..db14b20e 100644 --- a/src/handlers/compositor.rs +++ b/src/handlers/compositor.rs @@ -315,7 +315,7 @@ impl CompositorHandler for State { if self.niri.is_locked() { for (output, state) in &self.niri.output_state { if let Some(lock_surface) = &state.lock_surface { - if lock_surface.wl_surface() == surface { + if lock_surface.wl_surface() == &root_surface { self.niri.queue_redraw(&output.clone()); break; } -- cgit