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
This commit is contained in:
Ivan Molodetskikh
2026-04-16 12:35:26 +03:00
parent f1cb02cfab
commit 892470afd3
+2
View File
@@ -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