From feae8c15e605a499961588cbb30d9192c1926079 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Fri, 4 Apr 2025 12:08:36 +0300 Subject: input: Don't panic on resize edge None when window is Some This can already happen with the tab indicator, it will happen more onwards. --- src/input/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/input/mod.rs b/src/input/mod.rs index a4508338..ba5d3dd3 100644 --- a/src/input/mod.rs +++ b/src/input/mod.rs @@ -2302,7 +2302,7 @@ impl State { .niri .layout .resize_edges_under(output, pos_within_output) - .unwrap(); + .unwrap_or(ResizeEdge::empty()); if !edges.is_empty() { // See if we got a double resize-click gesture. -- cgit