Call on_maybe_dnd_ended() in two more places
Browse files at this commit892470afd3dce5396828dd9b211b19210a16eaebParent: f1cb02c1 changed file +2 -0
- src/niri.rs +2 -0
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.niri | 1982 | self.niri |