diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/niri.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/niri.rs b/src/niri.rs index a65687be..74632382 100644 --- a/src/niri.rs +++ b/src/niri.rs @@ -996,12 +996,13 @@ impl State { && surface.cached_state().keyboard_interactivity == wlr_layer::KeyboardInteractivity::OnDemand; - // Check if it moved to the overview backdrop. if let Some(mapped) = self.niri.mapped_layer_surfaces.get(surface) { + // Check if it moved to the overview backdrop. if mapped.place_within_backdrop() { good = false; } } else { + // The layer surface is alive but it got unmapped. good = false; } |
