layout: Test that interactively moved window is not pending fullscreen
Browse files at this commit27a715aded9f7ffb21888c1909ac4b1a7427f9e2Parent: 926e63a1 changed file +1 -0
- src/layout/mod.rs +1 -0
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); |