forge
Explore
Log in

Don't you dare go Hollow

Redraw on lock surface children commits

Browse files at this commit

473ef22de2af7c82097534767e56296395f4ab4cIvan MolodetskikhParent: d76b213
src/handlers/compositor.rsmodified+1 -1
@@ -315,7 +315,7 @@ impl CompositorHandler for State {
315 if self.niri.is_locked() {315 if self.niri.is_locked() {
316 for (output, state) in &self.niri.output_state {316 for (output, state) in &self.niri.output_state {
317 if let Some(lock_surface) = &state.lock_surface {317 if let Some(lock_surface) = &state.lock_surface {
318- if lock_surface.wl_surface() == surface {318+ if lock_surface.wl_surface() == &root_surface {
319 self.niri.queue_redraw(&output.clone());319 self.niri.queue_redraw(&output.clone());
320 break;320 break;
321 }321 }