mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-21 02:01:55 +07:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user