forge
Explore
Log in

Don't you dare go Hollow

Call on_maybe_dnd_ended() in two more places

Browse files at this commit

892470afd3dce5396828dd9b211b19210a16eaebIvan MolodetskikhParent: f1cb02c
This is not exhaustive and not a good solution. A proper Smithay
callback is needed: https://github.com/Smithay/smithay/issues/1996
src/niri.rsmodified+2 -0
@@ -1320,6 +1320,7 @@ impl State {
1320 get_monotonic_time().as_millis() as u32,1320 get_monotonic_time().as_millis() as u32,
1321 );1321 );
1322 self.niri.popup_grab = None;1322 self.niri.popup_grab = None;
1323+ self.niri.on_maybe_dnd_ended();
1323 }1324 }
1324 }1325 }
1325 1326
@@ -1975,6 +1976,7 @@ impl State {
1975 if let Some(touch) = self.niri.seat.get_touch() {1976 if let Some(touch) = self.niri.seat.get_touch() {
1976 touch.unset_grab(self);1977 touch.unset_grab(self);
1977 }1978 }
1979+ self.niri.on_maybe_dnd_ended();
1978 1980
1979 self.backend.with_primary_renderer(|renderer| {1981 self.backend.with_primary_renderer(|renderer| {
1980 self.niri1982 self.niri