forge
Explore
Log in

Don't you dare go Hollow

layout: Test that interactively moved window is not pending fullscreen

Browse files at this commit

27a715aded9f7ffb21888c1909ac4b1a7427f9e2Ivan MolodetskikhParent: 926e63a
src/layout/mod.rsmodified+1 -0
@@ -2335,6 +2335,7 @@ impl<W: LayoutElement> Layout<W> {
2335 }2335 }
2336 InteractiveMoveState::Moving(move_) => {2336 InteractiveMoveState::Moving(move_) => {
2337 assert_eq!(self.clock, move_.tile.clock);2337 assert_eq!(self.clock, move_.tile.clock);
2338+ assert!(!move_.tile.window().is_pending_fullscreen());
2338 2339
2339 let scale = move_.output.current_scale().fractional_scale();2340 let scale = move_.output.current_scale().fractional_scale();
2340 let options = Options::clone(&self.options).adjusted_for_scale(scale);2341 let options = Options::clone(&self.options).adjusted_for_scale(scale);