From 892470afd3dce5396828dd9b211b19210a16eaeb Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Thu, 16 Apr 2026 12:35:26 +0300 Subject: [PATCH] Call on_maybe_dnd_ended() in two more places This is not exhaustive and not a good solution. A proper Smithay callback is needed: https://github.com/Smithay/smithay/issues/1996 --- src/niri.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/niri.rs b/src/niri.rs index ba901276..d9b28143 100644 --- a/src/niri.rs +++ b/src/niri.rs @@ -1320,6 +1320,7 @@ impl State { get_monotonic_time().as_millis() as u32, ); self.niri.popup_grab = None; + self.niri.on_maybe_dnd_ended(); } } @@ -1975,6 +1976,7 @@ impl State { if let Some(touch) = self.niri.seat.get_touch() { touch.unset_grab(self); } + self.niri.on_maybe_dnd_ended(); self.backend.with_primary_renderer(|renderer| { self.niri