mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 02:01:55 +07:00
layout: Test that interactively moved window is not pending fullscreen
This commit is contained in:
@@ -2335,6 +2335,7 @@ impl<W: LayoutElement> Layout<W> {
|
|||||||
}
|
}
|
||||||
InteractiveMoveState::Moving(move_) => {
|
InteractiveMoveState::Moving(move_) => {
|
||||||
assert_eq!(self.clock, move_.tile.clock);
|
assert_eq!(self.clock, move_.tile.clock);
|
||||||
|
assert!(!move_.tile.window().is_pending_fullscreen());
|
||||||
|
|
||||||
let scale = move_.output.current_scale().fractional_scale();
|
let scale = move_.output.current_scale().fractional_scale();
|
||||||
let options = Options::clone(&self.options).adjusted_for_scale(scale);
|
let options = Options::clone(&self.options).adjusted_for_scale(scale);
|
||||||
|
|||||||
Reference in New Issue
Block a user