diff --git a/niri-config/src/lib.rs b/niri-config/src/lib.rs index 607d8f37..b1543b56 100644 --- a/niri-config/src/lib.rs +++ b/niri-config/src/lib.rs @@ -705,7 +705,7 @@ pub enum PresetSize { Fixed(#[knuffel(argument)] i32), } -#[derive(Debug, Clone, PartialEq)] +#[derive(Debug, Clone, Copy, PartialEq)] pub struct DefaultPresetSize(pub Option); #[derive(knuffel::Decode, Debug, Default, Clone, Copy, PartialEq)] @@ -975,6 +975,8 @@ pub struct WindowRule { // Rules applied at initial configure. #[knuffel(child)] pub default_column_width: Option, + #[knuffel(child)] + pub default_window_height: Option, #[knuffel(child, unwrap(argument))] pub open_on_output: Option, #[knuffel(child, unwrap(argument))] @@ -3145,6 +3147,7 @@ mod tests { open-fullscreen false open-floating false open-focused true + default-window-height { fixed 500; } focus-ring { off @@ -3425,6 +3428,7 @@ mod tests { open_fullscreen: Some(false), open_floating: Some(false), open_focused: Some(true), + default_window_height: Some(DefaultPresetSize(Some(PresetSize::Fixed(500)))), focus_ring: BorderRule { off: true, width: Some(FloatOrInt(3.)), diff --git a/niri-visual-tests/src/cases/layout.rs b/niri-visual-tests/src/cases/layout.rs index 4fa2f24d..c9cdd9bf 100644 --- a/niri-visual-tests/src/cases/layout.rs +++ b/niri-visual-tests/src/cases/layout.rs @@ -162,7 +162,7 @@ impl Layout { let min_size = window.min_size(); let max_size = window.max_size(); window.request_size( - ws.new_window_size(width, false, window.rules(), (min_size, max_size)), + ws.new_window_size(width, None, false, window.rules(), (min_size, max_size)), false, None, ); @@ -189,7 +189,7 @@ impl Layout { let min_size = window.min_size(); let max_size = window.max_size(); window.request_size( - ws.new_window_size(width, false, window.rules(), (min_size, max_size)), + ws.new_window_size(width, None, false, window.rules(), (min_size, max_size)), false, None, ); diff --git a/src/handlers/compositor.rs b/src/handlers/compositor.rs index 058f8375..ed55ae94 100644 --- a/src/handlers/compositor.rs +++ b/src/handlers/compositor.rs @@ -101,6 +101,7 @@ impl CompositorHandler for State { rules, width, floating_width: _, + floating_height: _, is_full_width, output, workspace_name, diff --git a/src/handlers/xdg_shell.rs b/src/handlers/xdg_shell.rs index 779612b6..b5d2d3c3 100644 --- a/src/handlers/xdg_shell.rs +++ b/src/handlers/xdg_shell.rs @@ -459,7 +459,7 @@ impl XdgShellHandler for State { toplevel.with_pending_state(|state| { state.states.set(xdg_toplevel::State::Fullscreen); }); - ws.configure_new_window(&unmapped.window, None, false, rules); + ws.configure_new_window(&unmapped.window, None, None, false, rules); } // We already sent the initial configure, so we need to reconfigure. @@ -495,6 +495,7 @@ impl XdgShellHandler for State { rules, width, floating_width, + floating_height, is_full_width, output, workspace_name, @@ -557,9 +558,11 @@ impl XdgShellHandler for State { } else { *width }; + let configure_height = if is_floating { *floating_height } else { None }; ws.configure_new_window( &unmapped.window, configure_width, + configure_height, is_floating, rules, ); @@ -840,6 +843,7 @@ impl State { let mut width = None; let mut floating_width = None; + let mut floating_height = None; let is_full_width = rules.open_maximized.unwrap_or(false); let is_floating = rules.compute_open_floating(toplevel); @@ -865,6 +869,7 @@ impl State { width = ws.resolve_default_width(rules.default_width, false); floating_width = ws.resolve_default_width(rules.default_width, true); + floating_height = ws.resolve_default_height(rules.default_height, true); let configure_width = if is_floating { floating_width @@ -873,7 +878,14 @@ impl State { } else { width }; - ws.configure_new_window(window, configure_width, is_floating, &rules); + let configure_height = if is_floating { floating_height } else { None }; + ws.configure_new_window( + window, + configure_width, + configure_height, + is_floating, + &rules, + ); } // If the user prefers no CSD, it's a reasonable assumption that they would prefer to get @@ -892,6 +904,7 @@ impl State { rules, width, floating_width, + floating_height, is_full_width, output, workspace_name: ws.and_then(|w| w.name().cloned()), diff --git a/src/layout/floating.rs b/src/layout/floating.rs index 08a74b37..a04c9b94 100644 --- a/src/layout/floating.rs +++ b/src/layout/floating.rs @@ -1102,9 +1102,14 @@ impl FloatingSpace { width.resolve_no_gaps(&self.options, self.working_area.size.w) } + pub fn resolve_height(&self, height: PresetSize) -> ResolvedSize { + resolve_preset_size(height, self.working_area.size.h) + } + pub fn new_window_size( &self, width: Option, + height: Option, rules: &ResolvedWindowRules, ) -> Size { let border = rules.border.resolve_against(self.options.border); @@ -1125,7 +1130,23 @@ impl FloatingSpace { 0 }; - Size::from((width, 0)) + let height = if let Some(height) = height { + let height = match self.resolve_height(height) { + ResolvedSize::Tile(mut size) => { + if !border.off { + size -= border.width.0 * 2.; + } + size + } + ResolvedSize::Window(size) => size, + }; + + max(1, height.floor() as i32) + } else { + 0 + }; + + Size::from((width, height)) } #[cfg(test)] diff --git a/src/layout/workspace.rs b/src/layout/workspace.rs index 516e02fd..92900ff3 100644 --- a/src/layout/workspace.rs +++ b/src/layout/workspace.rs @@ -2,7 +2,7 @@ use std::cmp::max; use std::rc::Rc; use std::time::Duration; -use niri_config::{OutputName, Workspace as WorkspaceConfig}; +use niri_config::{OutputName, PresetSize, Workspace as WorkspaceConfig}; use niri_ipc::SizeChange; use smithay::backend::renderer::gles::GlesRenderer; use smithay::desktop::{layer_map_for_output, Window}; @@ -715,15 +715,30 @@ impl Workspace { } } + pub fn resolve_default_height( + &self, + default_height: Option>, + is_floating: bool, + ) -> Option { + match default_height { + Some(Some(height)) => Some(height), + Some(None) => None, + None if is_floating => None, + // We don't have a global default at the moment. + None => None, + } + } + pub fn new_window_size( &self, width: Option, + height: Option, is_floating: bool, rules: &ResolvedWindowRules, (min_size, max_size): (Size, Size), ) -> Size { let mut size = if is_floating { - self.floating.new_window_size(width, rules) + self.floating.new_window_size(width, height, rules) } else { self.scrolling.new_window_size(width, rules) }; @@ -749,6 +764,7 @@ impl Workspace { &self, window: &Window, width: Option, + height: Option, is_floating: bool, rules: &ResolvedWindowRules, ) { @@ -766,7 +782,8 @@ impl Workspace { if state.states.contains(xdg_toplevel::State::Fullscreen) { state.size = Some(self.view_size.to_i32_round()); } else { - let size = self.new_window_size(width, is_floating, rules, (min_size, max_size)); + let size = + self.new_window_size(width, height, is_floating, rules, (min_size, max_size)); state.size = Some(size); } diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500-b-wfsAN.snap new file mode 100644 index 00000000..ce13ff49 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 608 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500-b-wfsAU.snap new file mode 100644 index 00000000..f11476a4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 608 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 608 × 680, bounds: 1240 × 680, states: [] +size: 608 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500-b-wfsBN.snap new file mode 100644 index 00000000..8e1b1c53 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500-b-wfsBU.snap new file mode 100644 index 00000000..2c9a690b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 608 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 608 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500-b.snap new file mode 100644 index 00000000..8407c039 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 608 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 608 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500-wfsAN.snap new file mode 100644 index 00000000..e54a40bb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500-wfsAU.snap new file mode 100644 index 00000000..fdce4fac --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 616 × 688, bounds: 1248 × 688, states: [] +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500-wfsBN.snap new file mode 100644 index 00000000..8d06c529 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500-wfsBU.snap new file mode 100644 index 00000000..7a8762e0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500.snap new file mode 100644 index 00000000..0efb2a82 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..bcf632fa --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 608 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..c3afa15b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 608 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 608 × 680, bounds: 1240 × 680, states: [] +size: 608 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..d56e586d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..13ed4fe5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 608 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 608 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5-b.snap new file mode 100644 index 00000000..06cc0a9a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 608 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 608 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5-wfsAN.snap new file mode 100644 index 00000000..890c087d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5-wfsAU.snap new file mode 100644 index 00000000..81ef8e3c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 616 × 688, bounds: 1248 × 688, states: [] +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5-wfsBN.snap new file mode 100644 index 00000000..131297cb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5-wfsBU.snap new file mode 100644 index 00000000..f9e53a81 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5.snap new file mode 100644 index 00000000..d2b7b748 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhU-b-wfsAN.snap new file mode 100644 index 00000000..a971ca46 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 608 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhU-b-wfsAU.snap new file mode 100644 index 00000000..83f420fe --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 608 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 608 × 680, bounds: 1240 × 680, states: [] +size: 608 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhU-b-wfsBN.snap new file mode 100644 index 00000000..065fbfd4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhU-b-wfsBU.snap new file mode 100644 index 00000000..fbed7ec2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 608 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 608 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhU-b.snap new file mode 100644 index 00000000..eb21f77f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 608 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 608 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhU-wfsAN.snap new file mode 100644 index 00000000..1943318e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhU-wfsAU.snap new file mode 100644 index 00000000..e14545f5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 616 × 688, bounds: 1248 × 688, states: [] +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhU-wfsBN.snap new file mode 100644 index 00000000..1745bfb3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhU-wfsBU.snap new file mode 100644 index 00000000..b2149c74 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhU.snap new file mode 100644 index 00000000..c1471353 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..2c26ac9d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..5b887e03 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1000 × 680, bounds: 1240 × 680, states: [] +size: 1000 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..69653b54 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..7db9c101 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1000 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhF500-b.snap new file mode 100644 index 00000000..808e57c8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1000 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhF500-wfsAN.snap new file mode 100644 index 00000000..5d835e56 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhF500-wfsAU.snap new file mode 100644 index 00000000..7709c5e3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1000 × 688, bounds: 1248 × 688, states: [] +size: 1000 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhF500-wfsBN.snap new file mode 100644 index 00000000..31b63efc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhF500-wfsBU.snap new file mode 100644 index 00000000..01fcdff7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1000 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhF500.snap new file mode 100644 index 00000000..ac407f9e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1000 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..dcb4ec53 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..c4bb69ae --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1000 × 680, bounds: 1240 × 680, states: [] +size: 1000 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..5a600b47 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..863e582b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1000 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhP0.5-b.snap new file mode 100644 index 00000000..ad0637b0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1000 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..c9c48f2c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..a7006dbe --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1000 × 688, bounds: 1248 × 688, states: [] +size: 1000 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..51cc8e90 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..cb553d39 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1000 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhP0.5.snap new file mode 100644 index 00000000..a234540d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1000 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhU-b-wfsAN.snap new file mode 100644 index 00000000..9ced714a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhU-b-wfsAU.snap new file mode 100644 index 00000000..4a948746 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1000 × 680, bounds: 1240 × 680, states: [] +size: 1000 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhU-b-wfsBN.snap new file mode 100644 index 00000000..4e35f1a8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhU-b-wfsBU.snap new file mode 100644 index 00000000..ee15295e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1000 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhU-b.snap new file mode 100644 index 00000000..ccd1f677 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1000 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhU-wfsAN.snap new file mode 100644 index 00000000..7ae17239 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhU-wfsAU.snap new file mode 100644 index 00000000..18ff264e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1000 × 688, bounds: 1248 × 688, states: [] +size: 1000 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhU-wfsBN.snap new file mode 100644 index 00000000..2550f04e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhU-wfsBU.snap new file mode 100644 index 00000000..774c0f74 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1000 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhU.snap new file mode 100644 index 00000000..8cd7cdc2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwF1000-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1000 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..dd995670 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 292 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..baa4e8ae --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 292 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 292 × 680, bounds: 1240 × 680, states: [] +size: 292 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..b4d123e5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..852dac2a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 292 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 292 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhF500-b.snap new file mode 100644 index 00000000..6d8593c6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 292 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 292 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhF500-wfsAN.snap new file mode 100644 index 00000000..b234d209 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 300 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhF500-wfsAU.snap new file mode 100644 index 00000000..86fc489b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 300 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 300 × 688, bounds: 1248 × 688, states: [] +size: 300 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhF500-wfsBN.snap new file mode 100644 index 00000000..fec4df8f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhF500-wfsBU.snap new file mode 100644 index 00000000..3790ab05 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 300 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 300 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhF500.snap new file mode 100644 index 00000000..d8439867 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 300 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 300 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..15d43abc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 292 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..5cad880e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 292 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 292 × 680, bounds: 1240 × 680, states: [] +size: 292 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..fefc29c8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..9ff11b7c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 292 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 292 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhP0.5-b.snap new file mode 100644 index 00000000..bf5bb335 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 292 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 292 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..2895d42c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 300 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..248597f7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 300 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 300 × 688, bounds: 1248 × 688, states: [] +size: 300 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..b0404ec9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..c5dbf84b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 300 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 300 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhP0.5.snap new file mode 100644 index 00000000..5005d8d1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 300 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 300 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhU-b-wfsAN.snap new file mode 100644 index 00000000..d4db04ae --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 292 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhU-b-wfsAU.snap new file mode 100644 index 00000000..836ea003 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 292 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 292 × 680, bounds: 1240 × 680, states: [] +size: 292 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhU-b-wfsBN.snap new file mode 100644 index 00000000..0d972a59 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhU-b-wfsBU.snap new file mode 100644 index 00000000..a9a3f8a2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 292 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 292 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhU-b.snap new file mode 100644 index 00000000..5e5f4202 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 292 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 292 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhU-wfsAN.snap new file mode 100644 index 00000000..07670792 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 300 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhU-wfsAU.snap new file mode 100644 index 00000000..28b239b0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 300 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 300 × 688, bounds: 1248 × 688, states: [] +size: 300 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhU-wfsBN.snap new file mode 100644 index 00000000..00f063b3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhU-wfsBU.snap new file mode 100644 index 00000000..781f481c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 300 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 300 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhU.snap new file mode 100644 index 00000000..4adc9d3b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwP0.25-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 300 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 300 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..b07b9a2e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..9dae2b9d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 0 × 680, bounds: 1240 × 680, states: [] +size: 1 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..84102e76 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..a4ef46d0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhF500-b.snap new file mode 100644 index 00000000..d2323c2f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhF500-wfsAN.snap new file mode 100644 index 00000000..d45031af --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhF500-wfsAU.snap new file mode 100644 index 00000000..8104101e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 0 × 688, bounds: 1248 × 688, states: [] +size: 1 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhF500-wfsBN.snap new file mode 100644 index 00000000..a426ba8b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhF500-wfsBU.snap new file mode 100644 index 00000000..bd3672c8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhF500.snap new file mode 100644 index 00000000..d25762d8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..cae9ae56 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..8c801ad6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 0 × 680, bounds: 1240 × 680, states: [] +size: 1 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..04d37939 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..65070359 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhP0.5-b.snap new file mode 100644 index 00000000..0bf0b50b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..472aed14 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..1c6dc2b0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 0 × 688, bounds: 1248 × 688, states: [] +size: 1 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..72ff861e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..4dbcc493 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhP0.5.snap new file mode 100644 index 00000000..75df1af6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhU-b-wfsAN.snap new file mode 100644 index 00000000..b8db33e5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhU-b-wfsAU.snap new file mode 100644 index 00000000..8021dbc5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 0 × 680, bounds: 1240 × 680, states: [] +size: 1 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhU-b-wfsBN.snap new file mode 100644 index 00000000..aa2c7b6f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhU-b-wfsBU.snap new file mode 100644 index 00000000..4da82fc4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhU-b.snap new file mode 100644 index 00000000..eac240d0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhU-wfsAN.snap new file mode 100644 index 00000000..d087acfe --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhU-wfsAU.snap new file mode 100644 index 00000000..1db306b2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 0 × 688, bounds: 1248 × 688, states: [] +size: 1 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhU-wfsBN.snap new file mode 100644 index 00000000..e9993927 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhU-wfsBU.snap new file mode 100644 index 00000000..2deb2963 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhU.snap new file mode 100644 index 00000000..49fa971d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@dwU-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..3be1c773 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 608 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..f885c30d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 608 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 608 × 680, bounds: 1240 × 680, states: [] +size: 608 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..b993edaa --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 608 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 608 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..db4a29ac --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 608 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 608 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhF500-b.snap new file mode 100644 index 00000000..44e39408 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 608 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 608 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhF500-wfsAN.snap new file mode 100644 index 00000000..ede016a3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhF500-wfsAU.snap new file mode 100644 index 00000000..42f38036 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 616 × 688, bounds: 1248 × 688, states: [] +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhF500-wfsBN.snap new file mode 100644 index 00000000..7c7abcfb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhF500-wfsBU.snap new file mode 100644 index 00000000..5d509df6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhF500.snap new file mode 100644 index 00000000..f20abbd2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..c53874bb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 608 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..a7b61683 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 608 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 608 × 680, bounds: 1240 × 680, states: [] +size: 608 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..0266a542 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 608 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 608 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..1bb0fd82 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 608 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 608 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhP0.5-b.snap new file mode 100644 index 00000000..827032ec --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 608 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 608 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..f83f2436 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..5c4e34c0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 616 × 688, bounds: 1248 × 688, states: [] +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..a1ac2d4d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..e3902304 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhP0.5.snap new file mode 100644 index 00000000..94cf80bf --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhU-b-wfsAN.snap new file mode 100644 index 00000000..55ff596f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 608 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhU-b-wfsAU.snap new file mode 100644 index 00000000..92fce51f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 608 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 608 × 680, bounds: 1240 × 680, states: [] +size: 608 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhU-b-wfsBN.snap new file mode 100644 index 00000000..d54b6929 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 608 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 608 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhU-b-wfsBU.snap new file mode 100644 index 00000000..2d165b8e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 608 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 608 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhU-b.snap new file mode 100644 index 00000000..e76fb182 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 608 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 608 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhU-wfsAN.snap new file mode 100644 index 00000000..b81d0a71 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhU-wfsAU.snap new file mode 100644 index 00000000..8a6fb6dc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 616 × 688, bounds: 1248 × 688, states: [] +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhU-wfsBN.snap new file mode 100644 index 00000000..23306511 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhU-wfsBU.snap new file mode 100644 index 00000000..a7627a41 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhU.snap new file mode 100644 index 00000000..f9aed5f6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..a44b0b16 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..b140b2a8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1000 × 680, bounds: 1240 × 680, states: [] +size: 1000 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..2bdb811d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1000 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..d31ed25f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1000 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhF500-b.snap new file mode 100644 index 00000000..43a87668 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1000 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhF500-wfsAN.snap new file mode 100644 index 00000000..c0149f1b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhF500-wfsAU.snap new file mode 100644 index 00000000..d6d6847e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1000 × 688, bounds: 1248 × 688, states: [] +size: 1000 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhF500-wfsBN.snap new file mode 100644 index 00000000..166ad425 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1000 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhF500-wfsBU.snap new file mode 100644 index 00000000..46769a58 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1000 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhF500.snap new file mode 100644 index 00000000..79d15fb1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1000 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..5c85d7f6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..74d2bbb4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1000 × 680, bounds: 1240 × 680, states: [] +size: 1000 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..597c219d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1000 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..872e441f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1000 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhP0.5-b.snap new file mode 100644 index 00000000..e9c64eac --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1000 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..1bf6ee06 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..e920091f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1000 × 688, bounds: 1248 × 688, states: [] +size: 1000 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..e6464f36 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1000 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..77668189 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1000 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhP0.5.snap new file mode 100644 index 00000000..a692b485 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1000 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhU-b-wfsAN.snap new file mode 100644 index 00000000..8a707d71 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhU-b-wfsAU.snap new file mode 100644 index 00000000..798b0f79 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1000 × 680, bounds: 1240 × 680, states: [] +size: 1000 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhU-b-wfsBN.snap new file mode 100644 index 00000000..f7b3832d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1000 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhU-b-wfsBU.snap new file mode 100644 index 00000000..efb0fb60 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1000 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhU-b.snap new file mode 100644 index 00000000..d52af45a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1000 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhU-wfsAN.snap new file mode 100644 index 00000000..9f734bc9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhU-wfsAU.snap new file mode 100644 index 00000000..8422ae36 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1000 × 688, bounds: 1248 × 688, states: [] +size: 1000 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhU-wfsBN.snap new file mode 100644 index 00000000..3c649f9e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1000 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhU-wfsBU.snap new file mode 100644 index 00000000..4bf0bf08 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1000 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhU.snap new file mode 100644 index 00000000..dca8c1a8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwF1000-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1000 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..370c9150 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 292 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..0649deba --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 292 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 292 × 680, bounds: 1240 × 680, states: [] +size: 292 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..1bff46b8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 292 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 292 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..e3062407 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 292 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 292 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhF500-b.snap new file mode 100644 index 00000000..aef73fd8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 292 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 292 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhF500-wfsAN.snap new file mode 100644 index 00000000..435cad58 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 300 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhF500-wfsAU.snap new file mode 100644 index 00000000..ba162268 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 300 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 300 × 688, bounds: 1248 × 688, states: [] +size: 300 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhF500-wfsBN.snap new file mode 100644 index 00000000..e1f893c8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 300 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 300 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhF500-wfsBU.snap new file mode 100644 index 00000000..79994dd7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 300 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 300 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhF500.snap new file mode 100644 index 00000000..6d094450 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 300 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 300 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..57b4171d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 292 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..19421231 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 292 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 292 × 680, bounds: 1240 × 680, states: [] +size: 292 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..bafc82a3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 292 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 292 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..7f17a1f6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 292 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 292 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhP0.5-b.snap new file mode 100644 index 00000000..090fe8d2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 292 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 292 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..6caf5477 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 300 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..6b7a6c8e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 300 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 300 × 688, bounds: 1248 × 688, states: [] +size: 300 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..97e4430c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 300 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 300 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..fb7007b9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 300 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 300 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhP0.5.snap new file mode 100644 index 00000000..3ddd8927 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 300 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 300 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhU-b-wfsAN.snap new file mode 100644 index 00000000..5afcd41d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 292 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhU-b-wfsAU.snap new file mode 100644 index 00000000..5a9b35e5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 292 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 292 × 680, bounds: 1240 × 680, states: [] +size: 292 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhU-b-wfsBN.snap new file mode 100644 index 00000000..4b538b3d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 292 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 292 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhU-b-wfsBU.snap new file mode 100644 index 00000000..1a29a302 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 292 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 292 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhU-b.snap new file mode 100644 index 00000000..5378d5bf --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 292 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 292 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhU-wfsAN.snap new file mode 100644 index 00000000..ea2018db --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 300 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhU-wfsAU.snap new file mode 100644 index 00000000..a3d3a656 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 300 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 300 × 688, bounds: 1248 × 688, states: [] +size: 300 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhU-wfsBN.snap new file mode 100644 index 00000000..5c860dd7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 300 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 300 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhU-wfsBU.snap new file mode 100644 index 00000000..3a73c2c6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 300 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 300 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhU.snap new file mode 100644 index 00000000..7612e3ac --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwP0.25-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 300 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 300 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..0e14013f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..7e775204 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 0 × 680, bounds: 1240 × 680, states: [] +size: 1 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..933b0bee --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..1b69d264 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhF500-b.snap new file mode 100644 index 00000000..1be638fe --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhF500-wfsAN.snap new file mode 100644 index 00000000..a309db99 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhF500-wfsAU.snap new file mode 100644 index 00000000..90608538 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 0 × 688, bounds: 1248 × 688, states: [] +size: 1 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhF500-wfsBN.snap new file mode 100644 index 00000000..67d15f59 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhF500-wfsBU.snap new file mode 100644 index 00000000..7c01488a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhF500.snap new file mode 100644 index 00000000..a21d238b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..bfe833c9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..8a7cebac --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 0 × 680, bounds: 1240 × 680, states: [] +size: 1 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..d475b955 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..dc6e0387 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhP0.5-b.snap new file mode 100644 index 00000000..cfb8af5e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..4cd043eb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..51dafdf1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 0 × 688, bounds: 1248 × 688, states: [] +size: 1 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..48b29b52 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..3c1a24a4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhP0.5.snap new file mode 100644 index 00000000..c5293bf2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhU-b-wfsAN.snap new file mode 100644 index 00000000..7dee11b4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhU-b-wfsAU.snap new file mode 100644 index 00000000..9fe235d7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 0 × 680, bounds: 1240 × 680, states: [] +size: 1 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhU-b-wfsBN.snap new file mode 100644 index 00000000..739aa390 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhU-b-wfsBU.snap new file mode 100644 index 00000000..abb60aeb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhU-b.snap new file mode 100644 index 00000000..15a7b4da --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhU-wfsAN.snap new file mode 100644 index 00000000..4e47770d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhU-wfsAU.snap new file mode 100644 index 00000000..9de9b491 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 0 × 688, bounds: 1248 × 688, states: [] +size: 1 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhU-wfsBN.snap new file mode 100644 index 00000000..0345dad0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhU-wfsBU.snap new file mode 100644 index 00000000..b258aa34 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhU.snap new file mode 100644 index 00000000..af1395ba --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-dwU-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..2f1ec591 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..13740252 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 0 × 500, bounds: 1272 × 712, states: [] +size: 1 × 500, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..341c25d2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..2ac091e1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhF500-b.snap new file mode 100644 index 00000000..742cd250 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhF500-wfsAN.snap new file mode 100644 index 00000000..362f3843 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhF500-wfsAU.snap new file mode 100644 index 00000000..62c872f6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 0 × 500, bounds: 1280 × 720, states: [] +size: 1 × 500, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhF500-wfsBN.snap new file mode 100644 index 00000000..889919b1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhF500-wfsBU.snap new file mode 100644 index 00000000..071c4ab0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhF500.snap new file mode 100644 index 00000000..3a35f56c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..716fa8bc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..1fc9ee4b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 0 × 352, bounds: 1272 × 712, states: [] +size: 1 × 352, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..c54d7aac --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..cad4ed66 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhP0.5-b.snap new file mode 100644 index 00000000..1698a0a7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..ead6ead0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..5595680b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 0 × 360, bounds: 1280 × 720, states: [] +size: 1 × 360, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..383be8e2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..9c223ff8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhP0.5.snap new file mode 100644 index 00000000..58993eb1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhU-b-wfsAN.snap new file mode 100644 index 00000000..c28f1f09 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhU-b-wfsAU.snap new file mode 100644 index 00000000..47a5d089 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 0 × 0, bounds: 1272 × 712, states: [] +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhU-b-wfsBN.snap new file mode 100644 index 00000000..1ae194a8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhU-b-wfsBU.snap new file mode 100644 index 00000000..11e3ecbd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhU-b.snap new file mode 100644 index 00000000..e64dfb50 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhU-wfsAN.snap new file mode 100644 index 00000000..a02bbbf4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhU-wfsAU.snap new file mode 100644 index 00000000..74e61206 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 0 × 0, bounds: 1280 × 720, states: [] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhU-wfsBN.snap new file mode 100644 index 00000000..21975d59 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhU-wfsBU.snap new file mode 100644 index 00000000..207c4f5f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhU.snap new file mode 100644 index 00000000..af40f1b4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..6981330f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..7c8ab635 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1000 × 500, bounds: 1272 × 712, states: [] +size: 1000 × 500, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..2eb05583 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..26c890b3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhF500-b.snap new file mode 100644 index 00000000..283f73c6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhF500-wfsAN.snap new file mode 100644 index 00000000..2b4debe5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhF500-wfsAU.snap new file mode 100644 index 00000000..86db1e1d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1000 × 500, bounds: 1280 × 720, states: [] +size: 1000 × 500, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhF500-wfsBN.snap new file mode 100644 index 00000000..766aaff5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhF500-wfsBU.snap new file mode 100644 index 00000000..60b92eca --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhF500.snap new file mode 100644 index 00000000..9d11809c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..b3047896 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..e7a379b2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1000 × 352, bounds: 1272 × 712, states: [] +size: 1000 × 352, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..ba1fc5d2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..4d0cdf9f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhP0.5-b.snap new file mode 100644 index 00000000..65751c51 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..4a3b2af7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..370db2fe --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1000 × 360, bounds: 1280 × 720, states: [] +size: 1000 × 360, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..043b8b72 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..af61fbec --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhP0.5.snap new file mode 100644 index 00000000..5191ca5f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhU-b-wfsAN.snap new file mode 100644 index 00000000..113d9ab9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhU-b-wfsAU.snap new file mode 100644 index 00000000..8521b2f4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1000 × 0, bounds: 1272 × 712, states: [] +size: 1000 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhU-b-wfsBN.snap new file mode 100644 index 00000000..321f2b16 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhU-b-wfsBU.snap new file mode 100644 index 00000000..10be72bf --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhU-b.snap new file mode 100644 index 00000000..8f6303a7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhU-wfsAN.snap new file mode 100644 index 00000000..57b7e182 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhU-wfsAU.snap new file mode 100644 index 00000000..ec8abb2b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1000 × 0, bounds: 1280 × 720, states: [] +size: 1000 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhU-wfsBN.snap new file mode 100644 index 00000000..aa45e2aa --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhU-wfsBU.snap new file mode 100644 index 00000000..c94b619c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhU.snap new file mode 100644 index 00000000..c5ffcd98 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwF1000-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..873cbf42 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..0cb6bdb0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 312 × 500, bounds: 1272 × 712, states: [] +size: 312 × 500, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..5ab2f4e5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..ef738fd0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhF500-b.snap new file mode 100644 index 00000000..49c7f12c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhF500-wfsAN.snap new file mode 100644 index 00000000..52fe46e1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhF500-wfsAU.snap new file mode 100644 index 00000000..97ac51f4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 320 × 500, bounds: 1280 × 720, states: [] +size: 320 × 500, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhF500-wfsBN.snap new file mode 100644 index 00000000..670d3c96 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhF500-wfsBU.snap new file mode 100644 index 00000000..d827151d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhF500.snap new file mode 100644 index 00000000..e10f7bfd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..67ca66ac --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..d9cb51b2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 312 × 352, bounds: 1272 × 712, states: [] +size: 312 × 352, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..502fddc3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..4cfd7b28 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhP0.5-b.snap new file mode 100644 index 00000000..ebcc65e7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..3d34bfbd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..1a8c6f1c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 320 × 360, bounds: 1280 × 720, states: [] +size: 320 × 360, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..6a023f82 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..c0c5be66 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhP0.5.snap new file mode 100644 index 00000000..be75004f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhU-b-wfsAN.snap new file mode 100644 index 00000000..6363f2ac --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhU-b-wfsAU.snap new file mode 100644 index 00000000..c9af09e1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 312 × 0, bounds: 1272 × 712, states: [] +size: 312 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhU-b-wfsBN.snap new file mode 100644 index 00000000..9b1ff886 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhU-b-wfsBU.snap new file mode 100644 index 00000000..26237998 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhU-b.snap new file mode 100644 index 00000000..c83babcc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhU-wfsAN.snap new file mode 100644 index 00000000..5ef84506 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhU-wfsAU.snap new file mode 100644 index 00000000..b86342a8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 320 × 0, bounds: 1280 × 720, states: [] +size: 320 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhU-wfsBN.snap new file mode 100644 index 00000000..1e1a9e17 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhU-wfsBU.snap new file mode 100644 index 00000000..a68efbbb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhU.snap new file mode 100644 index 00000000..2de41446 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwP0.25-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..348a51c7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..0af95cdc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 0 × 500, bounds: 1272 × 712, states: [] +size: 1 × 500, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..e9f68fc6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..c4ba0a98 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhF500-b.snap new file mode 100644 index 00000000..b1e99a61 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhF500-wfsAN.snap new file mode 100644 index 00000000..8d9a9d32 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhF500-wfsAU.snap new file mode 100644 index 00000000..128106ef --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 0 × 500, bounds: 1280 × 720, states: [] +size: 1 × 500, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhF500-wfsBN.snap new file mode 100644 index 00000000..b3b0a852 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhF500-wfsBU.snap new file mode 100644 index 00000000..d63e6e57 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhF500.snap new file mode 100644 index 00000000..61809825 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..b222c6c6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..f6854c6f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 0 × 352, bounds: 1272 × 712, states: [] +size: 1 × 352, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..bbd95a2e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..833b5e6b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhP0.5-b.snap new file mode 100644 index 00000000..fcd622fb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..a68d3f87 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..f836e4cd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 0 × 360, bounds: 1280 × 720, states: [] +size: 1 × 360, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..e42d904f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..b6d7db2f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhP0.5.snap new file mode 100644 index 00000000..f992474d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhU-b-wfsAN.snap new file mode 100644 index 00000000..c358c296 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhU-b-wfsAU.snap new file mode 100644 index 00000000..0eb05382 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 0 × 0, bounds: 1272 × 712, states: [] +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhU-b-wfsBN.snap new file mode 100644 index 00000000..a959c975 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhU-b-wfsBU.snap new file mode 100644 index 00000000..9129e562 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhU-b.snap new file mode 100644 index 00000000..76bac816 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhU-wfsAN.snap new file mode 100644 index 00000000..54fa7a8c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhU-wfsAU.snap new file mode 100644 index 00000000..e8c22f73 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 0 × 0, bounds: 1280 × 720, states: [] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhU-wfsBN.snap new file mode 100644 index 00000000..2ece7fd4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhU-wfsBU.snap new file mode 100644 index 00000000..f01b166b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhU.snap new file mode 100644 index 00000000..1402f141 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-ofT-dwU-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-floating true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..ec5b377b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..c9a50677 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..a39334d2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..60102002 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhF500-b.snap new file mode 100644 index 00000000..830265b1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhF500-wfsAN.snap new file mode 100644 index 00000000..deb43d4c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhF500-wfsAU.snap new file mode 100644 index 00000000..32c70d17 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhF500-wfsBN.snap new file mode 100644 index 00000000..19837f5d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhF500-wfsBU.snap new file mode 100644 index 00000000..d83d87da --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhF500.snap new file mode 100644 index 00000000..fb2482aa --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..037b3b30 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..c62be3a6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..127b22be --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..4b429e55 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhP0.5-b.snap new file mode 100644 index 00000000..6279ca17 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..977523d5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..7919ae49 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..66eb355c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..83a6f432 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhP0.5.snap new file mode 100644 index 00000000..36f4f5ca --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhU-b-wfsAN.snap new file mode 100644 index 00000000..9dbc16d8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhU-b-wfsAU.snap new file mode 100644 index 00000000..5cf2a185 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhU-b-wfsBN.snap new file mode 100644 index 00000000..cfe47f43 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhU-b-wfsBU.snap new file mode 100644 index 00000000..ea88553f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhU-b.snap new file mode 100644 index 00000000..e5cb020d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhU-wfsAN.snap new file mode 100644 index 00000000..bf09c7c0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhU-wfsAU.snap new file mode 100644 index 00000000..54070bb4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhU-wfsBN.snap new file mode 100644 index 00000000..e2a01207 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhU-wfsBU.snap new file mode 100644 index 00000000..cff3b979 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhU.snap new file mode 100644 index 00000000..74183ee3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..455c0e5f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..9ab268d2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..4e52e013 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..2c2dbe0d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhF500-b.snap new file mode 100644 index 00000000..370652c7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhF500-wfsAN.snap new file mode 100644 index 00000000..76b6619d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhF500-wfsAU.snap new file mode 100644 index 00000000..8183fe6b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhF500-wfsBN.snap new file mode 100644 index 00000000..7165edc4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhF500-wfsBU.snap new file mode 100644 index 00000000..76750d45 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhF500.snap new file mode 100644 index 00000000..93ea06fb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..ea0f558c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..231a772b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..72468c7d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..e10275c8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhP0.5-b.snap new file mode 100644 index 00000000..81d71ac3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..d16ff5e0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..6fe23c67 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..5602cf1e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..19e34f48 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhP0.5.snap new file mode 100644 index 00000000..3fde9797 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhU-b-wfsAN.snap new file mode 100644 index 00000000..b44c95c2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhU-b-wfsAU.snap new file mode 100644 index 00000000..f136f0dd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhU-b-wfsBN.snap new file mode 100644 index 00000000..b3450769 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhU-b-wfsBU.snap new file mode 100644 index 00000000..7f7f1fbb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhU-b.snap new file mode 100644 index 00000000..22d41321 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhU-wfsAN.snap new file mode 100644 index 00000000..e64101bd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhU-wfsAU.snap new file mode 100644 index 00000000..71011596 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhU-wfsBN.snap new file mode 100644 index 00000000..373eecfe --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhU-wfsBU.snap new file mode 100644 index 00000000..489d5dc7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhU.snap new file mode 100644 index 00000000..a4bbe3aa --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwF1000-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..ee4355b9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..5a09b7be --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..8a0de012 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..f4f02b10 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhF500-b.snap new file mode 100644 index 00000000..57d432bf --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhF500-wfsAN.snap new file mode 100644 index 00000000..5013b92f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhF500-wfsAU.snap new file mode 100644 index 00000000..28b2f153 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhF500-wfsBN.snap new file mode 100644 index 00000000..88c0b068 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhF500-wfsBU.snap new file mode 100644 index 00000000..a7743e34 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhF500.snap new file mode 100644 index 00000000..c2e04278 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..dcbabb51 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..6a89e071 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..53c703d4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..a61adf3f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhP0.5-b.snap new file mode 100644 index 00000000..f3ef7f95 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..9361fc42 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..6079e913 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..69a0a47b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..d912bde3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhP0.5.snap new file mode 100644 index 00000000..9f14bcde --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhU-b-wfsAN.snap new file mode 100644 index 00000000..e12876ef --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhU-b-wfsAU.snap new file mode 100644 index 00000000..1ae1eb16 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhU-b-wfsBN.snap new file mode 100644 index 00000000..08f0f325 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhU-b-wfsBU.snap new file mode 100644 index 00000000..01516b8f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhU-b.snap new file mode 100644 index 00000000..9c9510a1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhU-wfsAN.snap new file mode 100644 index 00000000..b7b6c429 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhU-wfsAU.snap new file mode 100644 index 00000000..20e6b8ef --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhU-wfsBN.snap new file mode 100644 index 00000000..33f6cfa2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhU-wfsBU.snap new file mode 100644 index 00000000..2afd2a7d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhU.snap new file mode 100644 index 00000000..03297db9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwP0.25-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..33d82ec6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..1eb3b7a8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..58a82311 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..51c4d944 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhF500-b.snap new file mode 100644 index 00000000..5a0443f0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhF500-wfsAN.snap new file mode 100644 index 00000000..f7781359 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhF500-wfsAU.snap new file mode 100644 index 00000000..197e8624 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhF500-wfsBN.snap new file mode 100644 index 00000000..ed7cf0ca --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhF500-wfsBU.snap new file mode 100644 index 00000000..493310aa --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhF500.snap new file mode 100644 index 00000000..ad55719c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..2beb0786 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..6aef9d31 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..807bfeb3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..2d6eca42 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhP0.5-b.snap new file mode 100644 index 00000000..8f33fde6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..2f5923a0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..eebdaf0d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..a29217e3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..03da9f82 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhP0.5.snap new file mode 100644 index 00000000..bc81eb5f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhU-b-wfsAN.snap new file mode 100644 index 00000000..a9d611bb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhU-b-wfsAU.snap new file mode 100644 index 00000000..73c3956f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhU-b-wfsBN.snap new file mode 100644 index 00000000..c47d8204 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhU-b-wfsBU.snap new file mode 100644 index 00000000..2d2344df --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhU-b.snap new file mode 100644 index 00000000..975bc3a0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhU-wfsAN.snap new file mode 100644 index 00000000..621e6fd8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhU-wfsAU.snap new file mode 100644 index 00000000..6f93139a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhU-wfsBN.snap new file mode 100644 index 00000000..e4610b80 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhU-wfsBU.snap new file mode 100644 index 00000000..e137fff0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhU.snap new file mode 100644 index 00000000..d77731f8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-dwU-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..2d13551b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..557f2d39 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 0 × 500, bounds: 1272 × 712, states: [] +size: 1 × 500, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..244559f2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..e1aa35f7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhF500-b.snap new file mode 100644 index 00000000..b81addb9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhF500-wfsAN.snap new file mode 100644 index 00000000..62f7b62f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhF500-wfsAU.snap new file mode 100644 index 00000000..abc3e408 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 0 × 500, bounds: 1280 × 720, states: [] +size: 1 × 500, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhF500-wfsBN.snap new file mode 100644 index 00000000..20b0f55a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhF500-wfsBU.snap new file mode 100644 index 00000000..de664916 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhF500.snap new file mode 100644 index 00000000..5555526f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..23d6d4e5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..b8f0a6bc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 0 × 352, bounds: 1272 × 712, states: [] +size: 1 × 352, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..9ee363c4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..ccdf9082 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhP0.5-b.snap new file mode 100644 index 00000000..dfaa4df9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..ebca1f28 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..152bfdc8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 0 × 360, bounds: 1280 × 720, states: [] +size: 1 × 360, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..2ca27d6d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..46f3847e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhP0.5.snap new file mode 100644 index 00000000..7db75dd4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhU-b-wfsAN.snap new file mode 100644 index 00000000..92c8dcaf --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhU-b-wfsAU.snap new file mode 100644 index 00000000..f8d10528 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 0 × 0, bounds: 1272 × 712, states: [] +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhU-b-wfsBN.snap new file mode 100644 index 00000000..37a3fa45 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhU-b-wfsBU.snap new file mode 100644 index 00000000..16cd5479 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhU-b.snap new file mode 100644 index 00000000..f451fdc9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhU-wfsAN.snap new file mode 100644 index 00000000..467243a3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhU-wfsAU.snap new file mode 100644 index 00000000..db03a3da --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 0 × 0, bounds: 1280 × 720, states: [] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhU-wfsBN.snap new file mode 100644 index 00000000..ac3b33ec --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhU-wfsBU.snap new file mode 100644 index 00000000..20589fbb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhU.snap new file mode 100644 index 00000000..e61880a3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..f543e2e0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..1d78a4a2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1000 × 500, bounds: 1272 × 712, states: [] +size: 1000 × 500, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..b09e5572 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..32a1b5de --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhF500-b.snap new file mode 100644 index 00000000..8b363ee3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhF500-wfsAN.snap new file mode 100644 index 00000000..3efdc9f9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhF500-wfsAU.snap new file mode 100644 index 00000000..6af2dc70 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1000 × 500, bounds: 1280 × 720, states: [] +size: 1000 × 500, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhF500-wfsBN.snap new file mode 100644 index 00000000..1bf18592 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhF500-wfsBU.snap new file mode 100644 index 00000000..82f18acd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhF500.snap new file mode 100644 index 00000000..5e877635 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..b6740efc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..767a2408 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1000 × 352, bounds: 1272 × 712, states: [] +size: 1000 × 352, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..3deee601 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..facb166d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhP0.5-b.snap new file mode 100644 index 00000000..f42ac216 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..19f0e76a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..19065ba9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1000 × 360, bounds: 1280 × 720, states: [] +size: 1000 × 360, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..dcfb5789 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..b71696ca --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhP0.5.snap new file mode 100644 index 00000000..4f93ce31 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhU-b-wfsAN.snap new file mode 100644 index 00000000..c987c7aa --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhU-b-wfsAU.snap new file mode 100644 index 00000000..ac47a2e4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1000 × 0, bounds: 1272 × 712, states: [] +size: 1000 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhU-b-wfsBN.snap new file mode 100644 index 00000000..55d5bb0b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhU-b-wfsBU.snap new file mode 100644 index 00000000..8594ff41 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhU-b.snap new file mode 100644 index 00000000..2fd09ad4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhU-wfsAN.snap new file mode 100644 index 00000000..4b2c489f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhU-wfsAU.snap new file mode 100644 index 00000000..1b6bc051 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1000 × 0, bounds: 1280 × 720, states: [] +size: 1000 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhU-wfsBN.snap new file mode 100644 index 00000000..64242b61 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhU-wfsBU.snap new file mode 100644 index 00000000..45273eb2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhU.snap new file mode 100644 index 00000000..43e7bf2b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwF1000-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..a8f689e2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..fb077546 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 312 × 500, bounds: 1272 × 712, states: [] +size: 312 × 500, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..2e70e247 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..de6534a9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhF500-b.snap new file mode 100644 index 00000000..daef40d3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhF500-wfsAN.snap new file mode 100644 index 00000000..506591de --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhF500-wfsAU.snap new file mode 100644 index 00000000..6c169da5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 320 × 500, bounds: 1280 × 720, states: [] +size: 320 × 500, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhF500-wfsBN.snap new file mode 100644 index 00000000..e158b71d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhF500-wfsBU.snap new file mode 100644 index 00000000..0868f7c5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhF500.snap new file mode 100644 index 00000000..3597d23b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..778e0bc6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..c1d755a6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 312 × 352, bounds: 1272 × 712, states: [] +size: 312 × 352, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..1a213104 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..3694ce04 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhP0.5-b.snap new file mode 100644 index 00000000..a026dfcc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..abe3cabc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..e1f29b51 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 320 × 360, bounds: 1280 × 720, states: [] +size: 320 × 360, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..9f2bf447 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..8e933e37 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhP0.5.snap new file mode 100644 index 00000000..789c3f7a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhU-b-wfsAN.snap new file mode 100644 index 00000000..3e87a938 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhU-b-wfsAU.snap new file mode 100644 index 00000000..1fffc760 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 312 × 0, bounds: 1272 × 712, states: [] +size: 312 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhU-b-wfsBN.snap new file mode 100644 index 00000000..45339fe7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhU-b-wfsBU.snap new file mode 100644 index 00000000..1029aafa --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhU-b.snap new file mode 100644 index 00000000..bfe8604c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhU-wfsAN.snap new file mode 100644 index 00000000..4fb746f6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhU-wfsAU.snap new file mode 100644 index 00000000..09d2d83a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 320 × 0, bounds: 1280 × 720, states: [] +size: 320 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhU-wfsBN.snap new file mode 100644 index 00000000..13914f8d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhU-wfsBU.snap new file mode 100644 index 00000000..8565aee4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhU.snap new file mode 100644 index 00000000..7c61340d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwP0.25-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..8923db32 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..13f9f2e6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 0 × 500, bounds: 1272 × 712, states: [] +size: 1 × 500, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..57c3ea4a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..15ae40a5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhF500-b.snap new file mode 100644 index 00000000..ea10be2c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhF500-wfsAN.snap new file mode 100644 index 00000000..a29de602 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhF500-wfsAU.snap new file mode 100644 index 00000000..84ba0f22 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 0 × 500, bounds: 1280 × 720, states: [] +size: 1 × 500, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhF500-wfsBN.snap new file mode 100644 index 00000000..eb7366ad --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhF500-wfsBU.snap new file mode 100644 index 00000000..ce332ed7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhF500.snap new file mode 100644 index 00000000..83ad5c1b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..185b7904 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..1d35b60f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 0 × 352, bounds: 1272 × 712, states: [] +size: 1 × 352, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..b40659d6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..d0d4c690 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhP0.5-b.snap new file mode 100644 index 00000000..0c41a169 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..947b4890 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..3b0af4e2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 0 × 360, bounds: 1280 × 720, states: [] +size: 1 × 360, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..45266216 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..63b96d5c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhP0.5.snap new file mode 100644 index 00000000..b6e54bbb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhU-b-wfsAN.snap new file mode 100644 index 00000000..d29ebf1a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhU-b-wfsAU.snap new file mode 100644 index 00000000..3f231715 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 0 × 0, bounds: 1272 × 712, states: [] +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhU-b-wfsBN.snap new file mode 100644 index 00000000..2bd03a51 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhU-b-wfsBU.snap new file mode 100644 index 00000000..b597d8fe --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhU-b.snap new file mode 100644 index 00000000..8452cebd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhU-wfsAN.snap new file mode 100644 index 00000000..9652415d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhU-wfsAU.snap new file mode 100644 index 00000000..8394fa73 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 0 × 0, bounds: 1280 × 720, states: [] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhU-wfsBN.snap new file mode 100644 index 00000000..6054dcb4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhU-wfsBU.snap new file mode 100644 index 00000000..d1d2c038 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhU.snap new file mode 100644 index 00000000..5a5109ce --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsF-omT-ofT-dwU-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen false\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..76270487 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..e84c8cf4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 608 × 680, bounds: 1240 × 680, states: [] +size: 608 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..6a388c9c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..77118a6b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhF500-b.snap new file mode 100644 index 00000000..979a82d2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhF500-wfsAN.snap new file mode 100644 index 00000000..1e756bf8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhF500-wfsAU.snap new file mode 100644 index 00000000..c8a267fc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 616 × 688, bounds: 1248 × 688, states: [] +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhF500-wfsBN.snap new file mode 100644 index 00000000..71637ba1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhF500-wfsBU.snap new file mode 100644 index 00000000..b2b1b2bb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhF500.snap new file mode 100644 index 00000000..8e22936e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..f190cb95 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..5ffdce1a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 608 × 680, bounds: 1240 × 680, states: [] +size: 608 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..a53cc1aa --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..ea8c75df --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhP0.5-b.snap new file mode 100644 index 00000000..d8522a46 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..9b67bbd9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..33d961c0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 616 × 688, bounds: 1248 × 688, states: [] +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..065863da --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..78414fc5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhP0.5.snap new file mode 100644 index 00000000..fa6ff608 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhU-b-wfsAN.snap new file mode 100644 index 00000000..a5fc2de2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhU-b-wfsAU.snap new file mode 100644 index 00000000..9437e974 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 608 × 680, bounds: 1240 × 680, states: [] +size: 608 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhU-b-wfsBN.snap new file mode 100644 index 00000000..ed8e41f3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhU-b-wfsBU.snap new file mode 100644 index 00000000..f69eda9f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhU-b.snap new file mode 100644 index 00000000..5d31fffd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhU-wfsAN.snap new file mode 100644 index 00000000..87ddfb3f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhU-wfsAU.snap new file mode 100644 index 00000000..f176d0e1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 616 × 688, bounds: 1248 × 688, states: [] +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhU-wfsBN.snap new file mode 100644 index 00000000..aa7ea6c1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhU-wfsBU.snap new file mode 100644 index 00000000..fa2b6f5c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhU.snap new file mode 100644 index 00000000..8f40bff3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..c3c2ba35 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..16a683e7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1000 × 680, bounds: 1240 × 680, states: [] +size: 1000 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..1edbdcab --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..cea3ac9c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhF500-b.snap new file mode 100644 index 00000000..c2266b9a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhF500-wfsAN.snap new file mode 100644 index 00000000..92f117f6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhF500-wfsAU.snap new file mode 100644 index 00000000..bb1be647 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1000 × 688, bounds: 1248 × 688, states: [] +size: 1000 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhF500-wfsBN.snap new file mode 100644 index 00000000..3afb2010 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhF500-wfsBU.snap new file mode 100644 index 00000000..e8f4a6f9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhF500.snap new file mode 100644 index 00000000..5dd02c58 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..bfc4fb13 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..702c36dc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1000 × 680, bounds: 1240 × 680, states: [] +size: 1000 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..2ccf526b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..c7086b02 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhP0.5-b.snap new file mode 100644 index 00000000..f8e73dc2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..04668dc4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..94ca7cdf --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1000 × 688, bounds: 1248 × 688, states: [] +size: 1000 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..2fa73d8e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..41bd93a3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhP0.5.snap new file mode 100644 index 00000000..3dd423e6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhU-b-wfsAN.snap new file mode 100644 index 00000000..79170ac5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhU-b-wfsAU.snap new file mode 100644 index 00000000..3b96120a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1000 × 680, bounds: 1240 × 680, states: [] +size: 1000 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhU-b-wfsBN.snap new file mode 100644 index 00000000..6bfc2fae --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhU-b-wfsBU.snap new file mode 100644 index 00000000..a5b83d68 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhU-b.snap new file mode 100644 index 00000000..62343d97 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhU-wfsAN.snap new file mode 100644 index 00000000..e1714507 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhU-wfsAU.snap new file mode 100644 index 00000000..799cdc18 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1000 × 688, bounds: 1248 × 688, states: [] +size: 1000 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhU-wfsBN.snap new file mode 100644 index 00000000..b849c22a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhU-wfsBU.snap new file mode 100644 index 00000000..3df94863 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhU.snap new file mode 100644 index 00000000..3e7ff512 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwF1000-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..1b09a826 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..44d7553b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 292 × 680, bounds: 1240 × 680, states: [] +size: 292 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..2711074b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..ac2b0605 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhF500-b.snap new file mode 100644 index 00000000..5e19cc45 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhF500-wfsAN.snap new file mode 100644 index 00000000..194fe2f7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhF500-wfsAU.snap new file mode 100644 index 00000000..8dd2e540 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 300 × 688, bounds: 1248 × 688, states: [] +size: 300 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhF500-wfsBN.snap new file mode 100644 index 00000000..9f1f1c88 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhF500-wfsBU.snap new file mode 100644 index 00000000..2885145d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhF500.snap new file mode 100644 index 00000000..10687539 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..183ad644 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..2b095447 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 292 × 680, bounds: 1240 × 680, states: [] +size: 292 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..eef1f770 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..317d0714 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhP0.5-b.snap new file mode 100644 index 00000000..c1bd9e8b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..47a3955b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..80feea15 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 300 × 688, bounds: 1248 × 688, states: [] +size: 300 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..b7f1157b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..a3620531 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhP0.5.snap new file mode 100644 index 00000000..ce4985ad --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhU-b-wfsAN.snap new file mode 100644 index 00000000..b74d32c4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhU-b-wfsAU.snap new file mode 100644 index 00000000..74f32319 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 292 × 680, bounds: 1240 × 680, states: [] +size: 292 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhU-b-wfsBN.snap new file mode 100644 index 00000000..42a4a9ae --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhU-b-wfsBU.snap new file mode 100644 index 00000000..384e72d2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhU-b.snap new file mode 100644 index 00000000..7b4749e8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhU-wfsAN.snap new file mode 100644 index 00000000..2bdf6af7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhU-wfsAU.snap new file mode 100644 index 00000000..67db1a0c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 300 × 688, bounds: 1248 × 688, states: [] +size: 300 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhU-wfsBN.snap new file mode 100644 index 00000000..4eb79cc5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhU-wfsBU.snap new file mode 100644 index 00000000..bfb30cfe --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhU.snap new file mode 100644 index 00000000..f61ddf0b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwP0.25-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..9a5d9456 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..6571ea82 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 0 × 680, bounds: 1240 × 680, states: [] +size: 1 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..8bcec360 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..470ae847 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhF500-b.snap new file mode 100644 index 00000000..c544b5d0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhF500-wfsAN.snap new file mode 100644 index 00000000..1a4d9203 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhF500-wfsAU.snap new file mode 100644 index 00000000..00463a64 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 0 × 688, bounds: 1248 × 688, states: [] +size: 1 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhF500-wfsBN.snap new file mode 100644 index 00000000..cb378e4e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhF500-wfsBU.snap new file mode 100644 index 00000000..c2e29aea --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhF500.snap new file mode 100644 index 00000000..e1998a8e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..17e4b0f9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..cabe4f95 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 0 × 680, bounds: 1240 × 680, states: [] +size: 1 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..b7a9f0c5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..b9ff7371 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhP0.5-b.snap new file mode 100644 index 00000000..15081b68 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..3a8355fe --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..bc33cbb4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 0 × 688, bounds: 1248 × 688, states: [] +size: 1 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..319443a9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..d40535c8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhP0.5.snap new file mode 100644 index 00000000..675fed7e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhU-b-wfsAN.snap new file mode 100644 index 00000000..739f1a59 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhU-b-wfsAU.snap new file mode 100644 index 00000000..d6e63089 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 0 × 680, bounds: 1240 × 680, states: [] +size: 1 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhU-b-wfsBN.snap new file mode 100644 index 00000000..f8c44079 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhU-b-wfsBU.snap new file mode 100644 index 00000000..2a5296b1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhU-b.snap new file mode 100644 index 00000000..a4b5e532 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhU-wfsAN.snap new file mode 100644 index 00000000..bfa21069 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhU-wfsAU.snap new file mode 100644 index 00000000..37ceaebd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 0 × 688, bounds: 1248 × 688, states: [] +size: 1 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhU-wfsBN.snap new file mode 100644 index 00000000..a12f7401 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhU-wfsBU.snap new file mode 100644 index 00000000..346eec88 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhU.snap new file mode 100644 index 00000000..d0788f46 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-dwU-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..44421661 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..20a372c4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 0 × 500, bounds: 1272 × 712, states: [] +size: 0 × 0, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..900704e4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..fd978547 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhF500-b.snap new file mode 100644 index 00000000..b7b95846 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhF500-wfsAN.snap new file mode 100644 index 00000000..b0089ce6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhF500-wfsAU.snap new file mode 100644 index 00000000..4d58cf12 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 0 × 500, bounds: 1280 × 720, states: [] +size: 0 × 0, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhF500-wfsBN.snap new file mode 100644 index 00000000..38f7cd48 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhF500-wfsBU.snap new file mode 100644 index 00000000..8c74b810 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhF500.snap new file mode 100644 index 00000000..e12f17bc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..5c668e49 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..9ca5e833 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 0 × 352, bounds: 1272 × 712, states: [] +size: 0 × 0, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..1628891a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..486b3c3a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhP0.5-b.snap new file mode 100644 index 00000000..7aae92ea --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..7ade8b76 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..e86cdee9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 0 × 360, bounds: 1280 × 720, states: [] +size: 0 × 0, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..266af07b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..6e737e3a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhP0.5.snap new file mode 100644 index 00000000..17967ffa --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhU-b-wfsAN.snap new file mode 100644 index 00000000..d8817d3f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhU-b-wfsAU.snap new file mode 100644 index 00000000..3b490be1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 0 × 0, bounds: 1272 × 712, states: [] +size: 0 × 0, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhU-b-wfsBN.snap new file mode 100644 index 00000000..e619382a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhU-b-wfsBU.snap new file mode 100644 index 00000000..14282200 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhU-b.snap new file mode 100644 index 00000000..4995a090 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhU-wfsAN.snap new file mode 100644 index 00000000..9bf1bbca --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhU-wfsAU.snap new file mode 100644 index 00000000..03f2fd7e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 0 × 0, bounds: 1280 × 720, states: [] +size: 0 × 0, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhU-wfsBN.snap new file mode 100644 index 00000000..589b7477 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhU-wfsBU.snap new file mode 100644 index 00000000..fd56238d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhU.snap new file mode 100644 index 00000000..7bce540e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..f29c023d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..8bca819d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1000 × 500, bounds: 1272 × 712, states: [] +size: 1000 × 500, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..0897640f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..d8b2f401 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhF500-b.snap new file mode 100644 index 00000000..e50aaa2a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhF500-wfsAN.snap new file mode 100644 index 00000000..7bde5700 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhF500-wfsAU.snap new file mode 100644 index 00000000..85054eb9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1000 × 500, bounds: 1280 × 720, states: [] +size: 1000 × 500, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhF500-wfsBN.snap new file mode 100644 index 00000000..87db842b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhF500-wfsBU.snap new file mode 100644 index 00000000..795cc0bd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhF500.snap new file mode 100644 index 00000000..d13b796e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..567bb310 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..07991c1a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1000 × 352, bounds: 1272 × 712, states: [] +size: 1000 × 352, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..89c01d41 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..8e95d795 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhP0.5-b.snap new file mode 100644 index 00000000..215376e1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..ad04d47b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..86476851 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1000 × 360, bounds: 1280 × 720, states: [] +size: 1000 × 360, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..80151a98 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..3d4b9bc1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhP0.5.snap new file mode 100644 index 00000000..562bac89 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhU-b-wfsAN.snap new file mode 100644 index 00000000..ffeec422 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhU-b-wfsAU.snap new file mode 100644 index 00000000..80e939b1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1000 × 0, bounds: 1272 × 712, states: [] +size: 0 × 0, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhU-b-wfsBN.snap new file mode 100644 index 00000000..29dc7b62 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhU-b-wfsBU.snap new file mode 100644 index 00000000..1b858fbe --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhU-b.snap new file mode 100644 index 00000000..edf93946 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhU-wfsAN.snap new file mode 100644 index 00000000..b70bacdf --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhU-wfsAU.snap new file mode 100644 index 00000000..d25345e5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1000 × 0, bounds: 1280 × 720, states: [] +size: 0 × 0, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhU-wfsBN.snap new file mode 100644 index 00000000..96ab5107 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhU-wfsBU.snap new file mode 100644 index 00000000..a96a8244 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhU.snap new file mode 100644 index 00000000..5c8ccd3d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwF1000-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..753b3c7a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..87e0eddd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 312 × 500, bounds: 1272 × 712, states: [] +size: 312 × 500, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..93532cab --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..eaeae6fc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhF500-b.snap new file mode 100644 index 00000000..c0efc481 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhF500-wfsAN.snap new file mode 100644 index 00000000..c6bdbd5e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhF500-wfsAU.snap new file mode 100644 index 00000000..f73d9ba5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 320 × 500, bounds: 1280 × 720, states: [] +size: 320 × 500, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhF500-wfsBN.snap new file mode 100644 index 00000000..845b7c50 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhF500-wfsBU.snap new file mode 100644 index 00000000..5bdf16bc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhF500.snap new file mode 100644 index 00000000..079f365d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..6d7e7cf3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..70ddb000 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 312 × 352, bounds: 1272 × 712, states: [] +size: 312 × 352, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..7537e343 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..c698f8b4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhP0.5-b.snap new file mode 100644 index 00000000..6306caa2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..25d9f00f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..1c2d3ef9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 320 × 360, bounds: 1280 × 720, states: [] +size: 320 × 360, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..f7cf0556 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..aa8b4f2a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhP0.5.snap new file mode 100644 index 00000000..be1305dc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhU-b-wfsAN.snap new file mode 100644 index 00000000..b1612991 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhU-b-wfsAU.snap new file mode 100644 index 00000000..9a8e55cf --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 312 × 0, bounds: 1272 × 712, states: [] +size: 0 × 0, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhU-b-wfsBN.snap new file mode 100644 index 00000000..1af09573 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhU-b-wfsBU.snap new file mode 100644 index 00000000..20695f70 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhU-b.snap new file mode 100644 index 00000000..2502cc76 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhU-wfsAN.snap new file mode 100644 index 00000000..5d5d85dd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhU-wfsAU.snap new file mode 100644 index 00000000..f3e977cd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 320 × 0, bounds: 1280 × 720, states: [] +size: 0 × 0, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhU-wfsBN.snap new file mode 100644 index 00000000..a1070782 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhU-wfsBU.snap new file mode 100644 index 00000000..fe73f4d5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhU.snap new file mode 100644 index 00000000..be3b5ca2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwP0.25-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..c6850f85 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..2100cb0d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 0 × 500, bounds: 1272 × 712, states: [] +size: 0 × 0, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..ee5edbf2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..537ed812 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhF500-b.snap new file mode 100644 index 00000000..1b68cd64 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhF500-wfsAN.snap new file mode 100644 index 00000000..b4036620 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhF500-wfsAU.snap new file mode 100644 index 00000000..319a3953 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 0 × 500, bounds: 1280 × 720, states: [] +size: 0 × 0, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhF500-wfsBN.snap new file mode 100644 index 00000000..ae1bb061 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhF500-wfsBU.snap new file mode 100644 index 00000000..ce26f957 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhF500.snap new file mode 100644 index 00000000..ab2fcbee --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..04494aa8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..13addd4c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 0 × 352, bounds: 1272 × 712, states: [] +size: 0 × 0, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..49d75fdc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..86e9fadf --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhP0.5-b.snap new file mode 100644 index 00000000..8961ea9c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..71c37ffe --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..9e439643 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 0 × 360, bounds: 1280 × 720, states: [] +size: 0 × 0, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..5c9eef05 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..217b316f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhP0.5.snap new file mode 100644 index 00000000..5671321f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhU-b-wfsAN.snap new file mode 100644 index 00000000..3d700c85 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhU-b-wfsAU.snap new file mode 100644 index 00000000..11b8c1fc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 0 × 0, bounds: 1272 × 712, states: [] +size: 0 × 0, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhU-b-wfsBN.snap new file mode 100644 index 00000000..7d5ae06f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhU-b-wfsBU.snap new file mode 100644 index 00000000..20004e78 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhU-b.snap new file mode 100644 index 00000000..81e6b586 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhU-wfsAN.snap new file mode 100644 index 00000000..314afeb1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhU-wfsAU.snap new file mode 100644 index 00000000..84f946b4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 0 × 0, bounds: 1280 × 720, states: [] +size: 0 × 0, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhU-wfsBN.snap new file mode 100644 index 00000000..3cd5cec9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhU-wfsBU.snap new file mode 100644 index 00000000..cd8d0789 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhU.snap new file mode 100644 index 00000000..908a9702 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-ofT-dwU-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-floating true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..33582920 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..3888ab7e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..ef72d56b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..67c3cf80 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhF500-b.snap new file mode 100644 index 00000000..ce4f6f69 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhF500-wfsAN.snap new file mode 100644 index 00000000..43c1b923 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhF500-wfsAU.snap new file mode 100644 index 00000000..db2c8c2b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhF500-wfsBN.snap new file mode 100644 index 00000000..47ff4d58 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhF500-wfsBU.snap new file mode 100644 index 00000000..69baf298 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhF500.snap new file mode 100644 index 00000000..394f7803 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..fa841457 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..c648b03a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..8805bbb4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..22d85b9e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhP0.5-b.snap new file mode 100644 index 00000000..394f6639 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..0ea866b8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..cdb31be5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..84d033bd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..d34fb1d4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhP0.5.snap new file mode 100644 index 00000000..2180400c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhU-b-wfsAN.snap new file mode 100644 index 00000000..83ecfd7f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhU-b-wfsAU.snap new file mode 100644 index 00000000..2b252ddd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhU-b-wfsBN.snap new file mode 100644 index 00000000..6eaca3b8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhU-b-wfsBU.snap new file mode 100644 index 00000000..ccd0027e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhU-b.snap new file mode 100644 index 00000000..6d83acc1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhU-wfsAN.snap new file mode 100644 index 00000000..e8ec5a79 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhU-wfsAU.snap new file mode 100644 index 00000000..48190779 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhU-wfsBN.snap new file mode 100644 index 00000000..69ca6553 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhU-wfsBU.snap new file mode 100644 index 00000000..616fbf0f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhU.snap new file mode 100644 index 00000000..482579fc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..48acacc5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..9dfa2908 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..6c7c4a12 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..8aed11de --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhF500-b.snap new file mode 100644 index 00000000..d2d5d6f4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhF500-wfsAN.snap new file mode 100644 index 00000000..a44e948e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhF500-wfsAU.snap new file mode 100644 index 00000000..d3af875a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhF500-wfsBN.snap new file mode 100644 index 00000000..09203fc3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhF500-wfsBU.snap new file mode 100644 index 00000000..e8a56033 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhF500.snap new file mode 100644 index 00000000..5b9fcfa2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..9da56c98 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..385b3d9a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..b697062a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..ad54222a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhP0.5-b.snap new file mode 100644 index 00000000..3a9b264a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..07da8b66 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..71aa02cc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..933a2d0e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..efb9092f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhP0.5.snap new file mode 100644 index 00000000..163a5220 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhU-b-wfsAN.snap new file mode 100644 index 00000000..bbd87a03 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhU-b-wfsAU.snap new file mode 100644 index 00000000..a8e04c86 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhU-b-wfsBN.snap new file mode 100644 index 00000000..c2b757a9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhU-b-wfsBU.snap new file mode 100644 index 00000000..63c72e12 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhU-b.snap new file mode 100644 index 00000000..18f78027 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhU-wfsAN.snap new file mode 100644 index 00000000..4ea4b534 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhU-wfsAU.snap new file mode 100644 index 00000000..af76ab0e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhU-wfsBN.snap new file mode 100644 index 00000000..85444485 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhU-wfsBU.snap new file mode 100644 index 00000000..314d4714 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhU.snap new file mode 100644 index 00000000..9bc69268 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwF1000-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..be06e881 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..b06f165b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..f4bfd8f2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..362e9473 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhF500-b.snap new file mode 100644 index 00000000..b738a42b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhF500-wfsAN.snap new file mode 100644 index 00000000..9c094b8f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhF500-wfsAU.snap new file mode 100644 index 00000000..2609e16d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhF500-wfsBN.snap new file mode 100644 index 00000000..2a8b80a7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhF500-wfsBU.snap new file mode 100644 index 00000000..995b559e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhF500.snap new file mode 100644 index 00000000..06fe01cf --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..ad3a5a7b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..db64389b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..9832dcae --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..250d596b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhP0.5-b.snap new file mode 100644 index 00000000..adf4650d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..577f5280 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..15c6f7d3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..1bfc909d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..97ca1e96 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhP0.5.snap new file mode 100644 index 00000000..b9ec31c6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhU-b-wfsAN.snap new file mode 100644 index 00000000..0d4c9004 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhU-b-wfsAU.snap new file mode 100644 index 00000000..6086ba2f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhU-b-wfsBN.snap new file mode 100644 index 00000000..316286b5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhU-b-wfsBU.snap new file mode 100644 index 00000000..1d7b1f48 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhU-b.snap new file mode 100644 index 00000000..abb6a3aa --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhU-wfsAN.snap new file mode 100644 index 00000000..20f5a5a5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhU-wfsAU.snap new file mode 100644 index 00000000..435e5a83 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhU-wfsBN.snap new file mode 100644 index 00000000..19f5d196 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhU-wfsBU.snap new file mode 100644 index 00000000..cac5f88b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhU.snap new file mode 100644 index 00000000..6bc767d2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwP0.25-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..baa6eb7d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..a8e6af87 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..a3112b53 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..d95cd4df --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhF500-b.snap new file mode 100644 index 00000000..71969d49 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhF500-wfsAN.snap new file mode 100644 index 00000000..2c544d2c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhF500-wfsAU.snap new file mode 100644 index 00000000..cdc85cec --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhF500-wfsBN.snap new file mode 100644 index 00000000..af83303a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhF500-wfsBU.snap new file mode 100644 index 00000000..b8ec1fdc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhF500.snap new file mode 100644 index 00000000..89fd24da --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..ef1d9a1f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..71915404 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..f9d2fd23 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..ed5ddba4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhP0.5-b.snap new file mode 100644 index 00000000..36381a6c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..355426da --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..94a08233 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..c55a6360 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..e532bdb0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhP0.5.snap new file mode 100644 index 00000000..8d0d2c35 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhU-b-wfsAN.snap new file mode 100644 index 00000000..90e61183 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhU-b-wfsAU.snap new file mode 100644 index 00000000..8529bc20 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhU-b-wfsBN.snap new file mode 100644 index 00000000..6315825e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhU-b-wfsBU.snap new file mode 100644 index 00000000..a414a9aa --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhU-b.snap new file mode 100644 index 00000000..8f050e30 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhU-wfsAN.snap new file mode 100644 index 00000000..23249435 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhU-wfsAU.snap new file mode 100644 index 00000000..1d548273 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhU-wfsBN.snap new file mode 100644 index 00000000..c287c621 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhU-wfsBU.snap new file mode 100644 index 00000000..452c10f9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhU.snap new file mode 100644 index 00000000..d61d7f0d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-dwU-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..9ca22d7b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..c3f95311 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 0 × 500, bounds: 1272 × 712, states: [] +size: 0 × 0, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..e67b6b96 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..62aa062d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhF500-b.snap new file mode 100644 index 00000000..53694f51 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhF500-wfsAN.snap new file mode 100644 index 00000000..622efb40 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhF500-wfsAU.snap new file mode 100644 index 00000000..f5fb1386 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 0 × 500, bounds: 1280 × 720, states: [] +size: 0 × 0, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhF500-wfsBN.snap new file mode 100644 index 00000000..61cd42b4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhF500-wfsBU.snap new file mode 100644 index 00000000..bac0023e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhF500.snap new file mode 100644 index 00000000..7254143b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..1ee070a6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..4d2228bc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 0 × 352, bounds: 1272 × 712, states: [] +size: 0 × 0, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..1e81bdf0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..7667df6b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhP0.5-b.snap new file mode 100644 index 00000000..4134d4da --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..58472de4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..8908be15 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 0 × 360, bounds: 1280 × 720, states: [] +size: 0 × 0, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..63e84c1b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..6aee9ae1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhP0.5.snap new file mode 100644 index 00000000..9a6614e8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhU-b-wfsAN.snap new file mode 100644 index 00000000..7dc0a932 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhU-b-wfsAU.snap new file mode 100644 index 00000000..6ef6d3b3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 0 × 0, bounds: 1272 × 712, states: [] +size: 0 × 0, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhU-b-wfsBN.snap new file mode 100644 index 00000000..22763ff5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhU-b-wfsBU.snap new file mode 100644 index 00000000..3fd4a9b4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhU-b.snap new file mode 100644 index 00000000..be99962e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhU-wfsAN.snap new file mode 100644 index 00000000..84dd1893 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhU-wfsAU.snap new file mode 100644 index 00000000..c1250bf2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 0 × 0, bounds: 1280 × 720, states: [] +size: 0 × 0, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhU-wfsBN.snap new file mode 100644 index 00000000..4c5135b7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhU-wfsBU.snap new file mode 100644 index 00000000..254a1518 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhU.snap new file mode 100644 index 00000000..ff215cec --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..85a85045 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..e92a234c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1000 × 500, bounds: 1272 × 712, states: [] +size: 1000 × 500, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..ec82357c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..b193c64b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhF500-b.snap new file mode 100644 index 00000000..c1faec4a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhF500-wfsAN.snap new file mode 100644 index 00000000..90b52d8a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhF500-wfsAU.snap new file mode 100644 index 00000000..2efd3f03 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1000 × 500, bounds: 1280 × 720, states: [] +size: 1000 × 500, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhF500-wfsBN.snap new file mode 100644 index 00000000..560c48d9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhF500-wfsBU.snap new file mode 100644 index 00000000..0e2d7f59 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhF500.snap new file mode 100644 index 00000000..60b8fd45 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..fcf6ae97 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..bc84f231 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1000 × 352, bounds: 1272 × 712, states: [] +size: 1000 × 352, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..76029354 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..e7b1bc0f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhP0.5-b.snap new file mode 100644 index 00000000..85966475 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..7025b4f1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..c872a264 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1000 × 360, bounds: 1280 × 720, states: [] +size: 1000 × 360, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..03b9c204 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..e9b9b130 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhP0.5.snap new file mode 100644 index 00000000..2afd3bdb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhU-b-wfsAN.snap new file mode 100644 index 00000000..e8d5761e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhU-b-wfsAU.snap new file mode 100644 index 00000000..7e076028 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1000 × 0, bounds: 1272 × 712, states: [] +size: 0 × 0, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhU-b-wfsBN.snap new file mode 100644 index 00000000..13b33412 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhU-b-wfsBU.snap new file mode 100644 index 00000000..3751fec2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhU-b.snap new file mode 100644 index 00000000..a15c78b9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhU-wfsAN.snap new file mode 100644 index 00000000..6db8fc82 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhU-wfsAU.snap new file mode 100644 index 00000000..93245c01 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1000 × 0, bounds: 1280 × 720, states: [] +size: 0 × 0, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhU-wfsBN.snap new file mode 100644 index 00000000..3cc95dd8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhU-wfsBU.snap new file mode 100644 index 00000000..3ad78049 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhU.snap new file mode 100644 index 00000000..de8db4ec --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwF1000-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..6d171b97 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..40e98757 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 312 × 500, bounds: 1272 × 712, states: [] +size: 312 × 500, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..b10ed17c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..23ce2631 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhF500-b.snap new file mode 100644 index 00000000..9752b244 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhF500-wfsAN.snap new file mode 100644 index 00000000..66ace9c5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhF500-wfsAU.snap new file mode 100644 index 00000000..526d8470 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 320 × 500, bounds: 1280 × 720, states: [] +size: 320 × 500, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhF500-wfsBN.snap new file mode 100644 index 00000000..f5c33868 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhF500-wfsBU.snap new file mode 100644 index 00000000..ae70b4f8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhF500.snap new file mode 100644 index 00000000..9f244b1e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..fea60353 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..1f71fce2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 312 × 352, bounds: 1272 × 712, states: [] +size: 312 × 352, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..9420eceb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..2e38379f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhP0.5-b.snap new file mode 100644 index 00000000..6a69cc57 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..b8602f7b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..795097e7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 320 × 360, bounds: 1280 × 720, states: [] +size: 320 × 360, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..6fb23986 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..2772fd20 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhP0.5.snap new file mode 100644 index 00000000..a071410f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhU-b-wfsAN.snap new file mode 100644 index 00000000..1d611843 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhU-b-wfsAU.snap new file mode 100644 index 00000000..f0d2b46b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 312 × 0, bounds: 1272 × 712, states: [] +size: 0 × 0, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhU-b-wfsBN.snap new file mode 100644 index 00000000..5507c94c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhU-b-wfsBU.snap new file mode 100644 index 00000000..6b71804c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhU-b.snap new file mode 100644 index 00000000..380eee56 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhU-wfsAN.snap new file mode 100644 index 00000000..cda03e2c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhU-wfsAU.snap new file mode 100644 index 00000000..78a2fc5c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 320 × 0, bounds: 1280 × 720, states: [] +size: 0 × 0, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhU-wfsBN.snap new file mode 100644 index 00000000..a91619ac --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhU-wfsBU.snap new file mode 100644 index 00000000..b9363989 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhU.snap new file mode 100644 index 00000000..c6044441 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwP0.25-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..80a0c793 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..1883cc39 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 0 × 500, bounds: 1272 × 712, states: [] +size: 0 × 0, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..2b35acb5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..678c6c61 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhF500-b.snap new file mode 100644 index 00000000..a9f1c390 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhF500-wfsAN.snap new file mode 100644 index 00000000..31104ea4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhF500-wfsAU.snap new file mode 100644 index 00000000..3608faee --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 0 × 500, bounds: 1280 × 720, states: [] +size: 0 × 0, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhF500-wfsBN.snap new file mode 100644 index 00000000..a22ada51 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhF500-wfsBU.snap new file mode 100644 index 00000000..111bb4ea --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhF500.snap new file mode 100644 index 00000000..c76f8170 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..eada60c9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..a834a6cd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 0 × 352, bounds: 1272 × 712, states: [] +size: 0 × 0, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..500da829 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..2104c17c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhP0.5-b.snap new file mode 100644 index 00000000..8edab983 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..6ac401d1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..79943eb4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 0 × 360, bounds: 1280 × 720, states: [] +size: 0 × 0, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..9dabaf6e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..3af78289 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhP0.5.snap new file mode 100644 index 00000000..facbc6e4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhU-b-wfsAN.snap new file mode 100644 index 00000000..f54273c8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhU-b-wfsAU.snap new file mode 100644 index 00000000..5701c33b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 0 × 0, bounds: 1272 × 712, states: [] +size: 0 × 0, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhU-b-wfsBN.snap new file mode 100644 index 00000000..6e8d42c2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhU-b-wfsBU.snap new file mode 100644 index 00000000..3a43ba84 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhU-b.snap new file mode 100644 index 00000000..46392aa6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhU-wfsAN.snap new file mode 100644 index 00000000..b4a89ca0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhU-wfsAU.snap new file mode 100644 index 00000000..d92b0d0e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 0 × 0, bounds: 1280 × 720, states: [] +size: 0 × 0, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhU-wfsBN.snap new file mode 100644 index 00000000..f0cd7914 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhU-wfsBU.snap new file mode 100644 index 00000000..ae75c982 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhU.snap new file mode 100644 index 00000000..d462d999 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@fsT-omT-ofT-dwU-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-fullscreen true\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..41eb116b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-floating true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..c91e9d6a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-floating true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 0 × 500, bounds: 1272 × 712, states: [] +size: 1 × 500, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..cedb948d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-floating true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..c811c69b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-floating true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhF500-b.snap new file mode 100644 index 00000000..3fe3d0a9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-floating true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhF500-wfsAN.snap new file mode 100644 index 00000000..4d91ce5b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-floating true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhF500-wfsAU.snap new file mode 100644 index 00000000..ff39f957 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-floating true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 0 × 500, bounds: 1280 × 720, states: [] +size: 1 × 500, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhF500-wfsBN.snap new file mode 100644 index 00000000..f65d3f33 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-floating true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhF500-wfsBU.snap new file mode 100644 index 00000000..89f94e53 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-floating true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhF500.snap new file mode 100644 index 00000000..70129997 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-floating true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..f3d8a230 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-floating true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..05b1f548 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-floating true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 0 × 352, bounds: 1272 × 712, states: [] +size: 1 × 352, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..00daa34c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-floating true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..de72bd07 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-floating true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhP0.5-b.snap new file mode 100644 index 00000000..98214e52 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-floating true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..8e909921 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-floating true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..02e66831 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-floating true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 0 × 360, bounds: 1280 × 720, states: [] +size: 1 × 360, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..17cc3d30 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-floating true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..b7f252ce --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-floating true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhP0.5.snap new file mode 100644 index 00000000..14c929da --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-floating true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhU-b-wfsAN.snap new file mode 100644 index 00000000..185dacbf --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-floating true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhU-b-wfsAU.snap new file mode 100644 index 00000000..ca94dcdc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-floating true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 0 × 0, bounds: 1272 × 712, states: [] +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhU-b-wfsBN.snap new file mode 100644 index 00000000..b01f413a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-floating true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhU-b-wfsBU.snap new file mode 100644 index 00000000..740d5811 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-floating true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhU-b.snap new file mode 100644 index 00000000..c03e4d69 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-floating true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhU-wfsAN.snap new file mode 100644 index 00000000..67071fdb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-floating true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhU-wfsAU.snap new file mode 100644 index 00000000..ce713e13 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-floating true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 0 × 0, bounds: 1280 × 720, states: [] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhU-wfsBN.snap new file mode 100644 index 00000000..1f625743 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-floating true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhU-wfsBU.snap new file mode 100644 index 00000000..795a14b8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-floating true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhU.snap new file mode 100644 index 00000000..cfb57386 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-floating true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..88431dcb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..866d40be --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1000 × 500, bounds: 1272 × 712, states: [] +size: 1000 × 500, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..b0f5b4c2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..7604fe3c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhF500-b.snap new file mode 100644 index 00000000..4ec4fd64 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhF500-wfsAN.snap new file mode 100644 index 00000000..6df5fe3c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhF500-wfsAU.snap new file mode 100644 index 00000000..8c8aba6e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1000 × 500, bounds: 1280 × 720, states: [] +size: 1000 × 500, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhF500-wfsBN.snap new file mode 100644 index 00000000..03c86b10 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhF500-wfsBU.snap new file mode 100644 index 00000000..9a2e26f4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhF500.snap new file mode 100644 index 00000000..4ef1256d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..d63c8062 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..e2eccdbe --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1000 × 352, bounds: 1272 × 712, states: [] +size: 1000 × 352, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..20362901 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..ae756a6c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhP0.5-b.snap new file mode 100644 index 00000000..5addfba8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..96ae4bc6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..b6104566 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1000 × 360, bounds: 1280 × 720, states: [] +size: 1000 × 360, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..5124dbe9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..80066048 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhP0.5.snap new file mode 100644 index 00000000..8f91bfd4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhU-b-wfsAN.snap new file mode 100644 index 00000000..3aa5a3a0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhU-b-wfsAU.snap new file mode 100644 index 00000000..4b3f4bf8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1000 × 0, bounds: 1272 × 712, states: [] +size: 1000 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhU-b-wfsBN.snap new file mode 100644 index 00000000..3b2e0722 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhU-b-wfsBU.snap new file mode 100644 index 00000000..dc165379 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhU-b.snap new file mode 100644 index 00000000..adfce330 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhU-wfsAN.snap new file mode 100644 index 00000000..b07e797b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhU-wfsAU.snap new file mode 100644 index 00000000..98fb6966 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1000 × 0, bounds: 1280 × 720, states: [] +size: 1000 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhU-wfsBN.snap new file mode 100644 index 00000000..4e88df27 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhU-wfsBU.snap new file mode 100644 index 00000000..cf7e66d6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhU.snap new file mode 100644 index 00000000..3e8a5eaf --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwF1000-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..25eb2396 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..672f01e3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 312 × 500, bounds: 1272 × 712, states: [] +size: 312 × 500, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..76e4a00a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..66d0c82b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhF500-b.snap new file mode 100644 index 00000000..09bceb46 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhF500-wfsAN.snap new file mode 100644 index 00000000..9d62a2b3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhF500-wfsAU.snap new file mode 100644 index 00000000..65a74cb3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 320 × 500, bounds: 1280 × 720, states: [] +size: 320 × 500, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhF500-wfsBN.snap new file mode 100644 index 00000000..78bd9720 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhF500-wfsBU.snap new file mode 100644 index 00000000..34e2ef3d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhF500.snap new file mode 100644 index 00000000..0256094f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..058012e4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..f8c36552 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 312 × 352, bounds: 1272 × 712, states: [] +size: 312 × 352, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..d3b5b9cc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..fbe99841 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhP0.5-b.snap new file mode 100644 index 00000000..912199fc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..9af3a676 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..bed212b0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 320 × 360, bounds: 1280 × 720, states: [] +size: 320 × 360, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..0c7ca6c1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..9fc528b9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhP0.5.snap new file mode 100644 index 00000000..a71ee86a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhU-b-wfsAN.snap new file mode 100644 index 00000000..e0c030ef --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhU-b-wfsAU.snap new file mode 100644 index 00000000..382efc67 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 312 × 0, bounds: 1272 × 712, states: [] +size: 312 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhU-b-wfsBN.snap new file mode 100644 index 00000000..66733ff8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhU-b-wfsBU.snap new file mode 100644 index 00000000..dfd02f5c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhU-b.snap new file mode 100644 index 00000000..c4fdcd05 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhU-wfsAN.snap new file mode 100644 index 00000000..375c6caf --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhU-wfsAU.snap new file mode 100644 index 00000000..46b3bd04 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 320 × 0, bounds: 1280 × 720, states: [] +size: 320 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhU-wfsBN.snap new file mode 100644 index 00000000..bb7d9f71 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhU-wfsBU.snap new file mode 100644 index 00000000..40292cb2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhU.snap new file mode 100644 index 00000000..a3f64994 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwP0.25-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..af840e91 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..5e48b49a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 0 × 500, bounds: 1272 × 712, states: [] +size: 1 × 500, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..38da30ab --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..84d4269c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhF500-b.snap new file mode 100644 index 00000000..6b5f417f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhF500-wfsAN.snap new file mode 100644 index 00000000..518c5cc6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhF500-wfsAU.snap new file mode 100644 index 00000000..e06b19a1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 0 × 500, bounds: 1280 × 720, states: [] +size: 1 × 500, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhF500-wfsBN.snap new file mode 100644 index 00000000..bc60e55f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhF500-wfsBU.snap new file mode 100644 index 00000000..9d2ade83 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhF500.snap new file mode 100644 index 00000000..f6e6c1ed --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..1e7dfda3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..968274ca --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 0 × 352, bounds: 1272 × 712, states: [] +size: 1 × 352, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..fbd67041 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..66970546 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhP0.5-b.snap new file mode 100644 index 00000000..50939e6e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..cfb09a7d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..3e39cc5d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 0 × 360, bounds: 1280 × 720, states: [] +size: 1 × 360, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..d44af154 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..615b944e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhP0.5.snap new file mode 100644 index 00000000..5ef2b165 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhU-b-wfsAN.snap new file mode 100644 index 00000000..65bc87a9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhU-b-wfsAU.snap new file mode 100644 index 00000000..0b6222fc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 0 × 0, bounds: 1272 × 712, states: [] +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhU-b-wfsBN.snap new file mode 100644 index 00000000..e4901ffd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhU-b-wfsBU.snap new file mode 100644 index 00000000..57a86245 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhU-b.snap new file mode 100644 index 00000000..1ceeb50f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-floating true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhU-wfsAN.snap new file mode 100644 index 00000000..6c0fc88c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhU-wfsAU.snap new file mode 100644 index 00000000..9d33553d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 0 × 0, bounds: 1280 × 720, states: [] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhU-wfsBN.snap new file mode 100644 index 00000000..3454f690 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhU-wfsBU.snap new file mode 100644 index 00000000..947435b2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-floating true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhU.snap new file mode 100644 index 00000000..7f03f31d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@ofT-dwU-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-floating true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..21af845d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..95f2f1bb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..a417c2a3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..3cab1c09 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhF500-b.snap new file mode 100644 index 00000000..b48010ad --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhF500-wfsAN.snap new file mode 100644 index 00000000..53f17162 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhF500-wfsAU.snap new file mode 100644 index 00000000..f6b5e91c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhF500-wfsBN.snap new file mode 100644 index 00000000..b43e52f3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhF500-wfsBU.snap new file mode 100644 index 00000000..c3cebf5f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhF500.snap new file mode 100644 index 00000000..8a166c93 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..d6d02937 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..98fa6ee8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..4b4d881d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..857a63ad --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhP0.5-b.snap new file mode 100644 index 00000000..8c0b3c1b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..ece0d576 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..82124328 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..c2df1ac9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..fc59889c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhP0.5.snap new file mode 100644 index 00000000..25727b59 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhU-b-wfsAN.snap new file mode 100644 index 00000000..74faa814 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhU-b-wfsAU.snap new file mode 100644 index 00000000..08814479 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhU-b-wfsBN.snap new file mode 100644 index 00000000..2c8c5190 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhU-b-wfsBU.snap new file mode 100644 index 00000000..f35bfaf1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhU-b.snap new file mode 100644 index 00000000..12a1444d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhU-wfsAN.snap new file mode 100644 index 00000000..8d6686d8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhU-wfsAU.snap new file mode 100644 index 00000000..4bcadafe --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhU-wfsBN.snap new file mode 100644 index 00000000..f830b776 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhU-wfsBU.snap new file mode 100644 index 00000000..61f97d91 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhU.snap new file mode 100644 index 00000000..0313872f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..f075e9b3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..be1c92c9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..4ffaf115 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..13911f70 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhF500-b.snap new file mode 100644 index 00000000..ac3fed64 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhF500-wfsAN.snap new file mode 100644 index 00000000..960e1d05 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhF500-wfsAU.snap new file mode 100644 index 00000000..bd6e0e61 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhF500-wfsBN.snap new file mode 100644 index 00000000..ce20bc9b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhF500-wfsBU.snap new file mode 100644 index 00000000..4315c9fa --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhF500.snap new file mode 100644 index 00000000..993933c6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..80604b65 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..6d545296 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..358c4bcf --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..a5ac418e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhP0.5-b.snap new file mode 100644 index 00000000..2e8897ef --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..a03e2fda --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..31da6251 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..fe0e4912 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..4b1d94e6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhP0.5.snap new file mode 100644 index 00000000..b7f26ec8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhU-b-wfsAN.snap new file mode 100644 index 00000000..d1daa8c7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhU-b-wfsAU.snap new file mode 100644 index 00000000..156e7a1b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhU-b-wfsBN.snap new file mode 100644 index 00000000..fb139837 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhU-b-wfsBU.snap new file mode 100644 index 00000000..e9130747 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhU-b.snap new file mode 100644 index 00000000..eb6da781 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhU-wfsAN.snap new file mode 100644 index 00000000..22e4552a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhU-wfsAU.snap new file mode 100644 index 00000000..fec721e2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhU-wfsBN.snap new file mode 100644 index 00000000..aca66c0a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhU-wfsBU.snap new file mode 100644 index 00000000..dde08559 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhU.snap new file mode 100644 index 00000000..1be6a8b2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwF1000-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..31d129be --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..98105b25 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..ba72bfa7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..f85d64fb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhF500-b.snap new file mode 100644 index 00000000..d2d52eb7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhF500-wfsAN.snap new file mode 100644 index 00000000..2a8a116e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhF500-wfsAU.snap new file mode 100644 index 00000000..84268a80 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhF500-wfsBN.snap new file mode 100644 index 00000000..74ac1517 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhF500-wfsBU.snap new file mode 100644 index 00000000..0696e775 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhF500.snap new file mode 100644 index 00000000..faad0968 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..1eb6740b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..1f273739 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..54d96401 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..98475a64 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhP0.5-b.snap new file mode 100644 index 00000000..ea43b72c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..7e8237e0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..48140f3f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..7c35cb1c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..bbc7ce37 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhP0.5.snap new file mode 100644 index 00000000..494c9ae4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhU-b-wfsAN.snap new file mode 100644 index 00000000..fb815e86 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhU-b-wfsAU.snap new file mode 100644 index 00000000..728e963c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhU-b-wfsBN.snap new file mode 100644 index 00000000..1209d1e7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhU-b-wfsBU.snap new file mode 100644 index 00000000..1b0b6219 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhU-b.snap new file mode 100644 index 00000000..96ca901d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhU-wfsAN.snap new file mode 100644 index 00000000..5ac9abfb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhU-wfsAU.snap new file mode 100644 index 00000000..6b99c8e8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhU-wfsBN.snap new file mode 100644 index 00000000..5007a857 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhU-wfsBU.snap new file mode 100644 index 00000000..feebc50b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhU.snap new file mode 100644 index 00000000..bf82fcfa --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwP0.25-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..75c90ddb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..0c132a67 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..3d390501 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..9d8180fb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhF500-b.snap new file mode 100644 index 00000000..196bcc1e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhF500-wfsAN.snap new file mode 100644 index 00000000..7e1f8cba --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhF500-wfsAU.snap new file mode 100644 index 00000000..23719b08 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhF500-wfsBN.snap new file mode 100644 index 00000000..0424043a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhF500-wfsBU.snap new file mode 100644 index 00000000..f4e56b22 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhF500.snap new file mode 100644 index 00000000..fb9769fd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..0d2a55c8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..098ee395 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..87976da4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..261875db --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhP0.5-b.snap new file mode 100644 index 00000000..8518a7d3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..4e9a8cb0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..9fd59d1b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..d3ea7da4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..3407f0a4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhP0.5.snap new file mode 100644 index 00000000..21c8df33 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhU-b-wfsAN.snap new file mode 100644 index 00000000..f86e099a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhU-b-wfsAU.snap new file mode 100644 index 00000000..22682511 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [] +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhU-b-wfsBN.snap new file mode 100644 index 00000000..4e23ef79 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhU-b-wfsBU.snap new file mode 100644 index 00000000..05034471 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhU-b.snap new file mode 100644 index 00000000..35c01f85 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1240 × 680, bounds: 1240 × 680, states: [] + +post-map configures: +size: 1240 × 680, bounds: 1240 × 680, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhU-wfsAN.snap new file mode 100644 index 00000000..0099c7b6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhU-wfsAU.snap new file mode 100644 index 00000000..97c45d62 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [] +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhU-wfsBN.snap new file mode 100644 index 00000000..3a3a3e3f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhU-wfsBU.snap new file mode 100644 index 00000000..9540f376 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhU.snap new file mode 100644 index 00000000..88ae8cdc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-dwU-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1248 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1248 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..2bf0d9fd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..0fded6b8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 0 × 500, bounds: 1272 × 712, states: [] +size: 1 × 500, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..f4e0f2a0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..9be72f89 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhF500-b.snap new file mode 100644 index 00000000..98e5fa1c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n open-floating true\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhF500-wfsAN.snap new file mode 100644 index 00000000..d68160ee --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhF500-wfsAU.snap new file mode 100644 index 00000000..3bee098a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 0 × 500, bounds: 1280 × 720, states: [] +size: 1 × 500, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhF500-wfsBN.snap new file mode 100644 index 00000000..77508c1e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhF500-wfsBU.snap new file mode 100644 index 00000000..ff4e986d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhF500.snap new file mode 100644 index 00000000..14aadb76 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n open-floating true\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..ce0dccc5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..39e72904 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 0 × 352, bounds: 1272 × 712, states: [] +size: 1 × 352, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..3da57427 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..87c839b9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhP0.5-b.snap new file mode 100644 index 00000000..bdb9c8bb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n open-floating true\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..4e54a73b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..4033f7ec --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 0 × 360, bounds: 1280 × 720, states: [] +size: 1 × 360, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..bb7ebaf9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..32be8602 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhP0.5.snap new file mode 100644 index 00000000..7b6117cf --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n open-floating true\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhU-b-wfsAN.snap new file mode 100644 index 00000000..3fe17c19 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhU-b-wfsAU.snap new file mode 100644 index 00000000..8d35e0ad --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 0 × 0, bounds: 1272 × 712, states: [] +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhU-b-wfsBN.snap new file mode 100644 index 00000000..80a19579 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhU-b-wfsBU.snap new file mode 100644 index 00000000..6b780dac --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhU-b.snap new file mode 100644 index 00000000..a62831b3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n open-floating true\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhU-wfsAN.snap new file mode 100644 index 00000000..576e5982 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhU-wfsAU.snap new file mode 100644 index 00000000..10b570c3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 0 × 0, bounds: 1280 × 720, states: [] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhU-wfsBN.snap new file mode 100644 index 00000000..e093d5ad --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhU-wfsBU.snap new file mode 100644 index 00000000..1d692dd9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhU.snap new file mode 100644 index 00000000..4399cdf3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n open-floating true\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..41883a83 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..2ab09188 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1000 × 500, bounds: 1272 × 712, states: [] +size: 1000 × 500, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..3a2a34b7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..0e074c7f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhF500-b.snap new file mode 100644 index 00000000..a8a92ae9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhF500-wfsAN.snap new file mode 100644 index 00000000..159e9140 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhF500-wfsAU.snap new file mode 100644 index 00000000..41f58531 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1000 × 500, bounds: 1280 × 720, states: [] +size: 1000 × 500, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhF500-wfsBN.snap new file mode 100644 index 00000000..64ac6b74 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhF500-wfsBU.snap new file mode 100644 index 00000000..f152c90e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhF500.snap new file mode 100644 index 00000000..155cd110 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..339fa1dd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..11bb5731 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1000 × 352, bounds: 1272 × 712, states: [] +size: 1000 × 352, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..bb752904 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..f2914635 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhP0.5-b.snap new file mode 100644 index 00000000..2b1abd4e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..646b9536 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..f73d8f83 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1000 × 360, bounds: 1280 × 720, states: [] +size: 1000 × 360, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..294f1d1a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..67ab1046 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhP0.5.snap new file mode 100644 index 00000000..aab77659 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhU-b-wfsAN.snap new file mode 100644 index 00000000..ef5ac2f4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhU-b-wfsAU.snap new file mode 100644 index 00000000..7be4493d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1000 × 0, bounds: 1272 × 712, states: [] +size: 1000 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhU-b-wfsBN.snap new file mode 100644 index 00000000..acab7b8f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhU-b-wfsBU.snap new file mode 100644 index 00000000..fb7e225d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhU-b.snap new file mode 100644 index 00000000..56d301ad --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhU-wfsAN.snap new file mode 100644 index 00000000..ccfca8f8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhU-wfsAU.snap new file mode 100644 index 00000000..6e10ae15 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1000 × 0, bounds: 1280 × 720, states: [] +size: 1000 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhU-wfsBN.snap new file mode 100644 index 00000000..ee6da4d4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhU-wfsBU.snap new file mode 100644 index 00000000..9b5e1c42 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhU.snap new file mode 100644 index 00000000..43aab95c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwF1000-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { fixed 1000; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1000 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..ab99c16d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..58751994 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 312 × 500, bounds: 1272 × 712, states: [] +size: 312 × 500, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..11c652cc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..266b2440 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhF500-b.snap new file mode 100644 index 00000000..4bf3c3ea --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhF500-wfsAN.snap new file mode 100644 index 00000000..bc3b2d0c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhF500-wfsAU.snap new file mode 100644 index 00000000..c0ebff77 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 320 × 500, bounds: 1280 × 720, states: [] +size: 320 × 500, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhF500-wfsBN.snap new file mode 100644 index 00000000..2e11c44e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhF500-wfsBU.snap new file mode 100644 index 00000000..dfb72650 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhF500.snap new file mode 100644 index 00000000..9d890b1c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..2c5b4483 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..25bf0f87 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 312 × 352, bounds: 1272 × 712, states: [] +size: 312 × 352, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..14771868 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..c8455c1d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhP0.5-b.snap new file mode 100644 index 00000000..aa643c23 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..0df631f2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..dba1a178 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 320 × 360, bounds: 1280 × 720, states: [] +size: 320 × 360, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..e8263c5d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..f7eba6dc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhP0.5.snap new file mode 100644 index 00000000..04b7f1c9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhU-b-wfsAN.snap new file mode 100644 index 00000000..945e9281 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhU-b-wfsAU.snap new file mode 100644 index 00000000..ac52c2cf --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 312 × 0, bounds: 1272 × 712, states: [] +size: 312 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhU-b-wfsBN.snap new file mode 100644 index 00000000..82d4f24e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhU-b-wfsBU.snap new file mode 100644 index 00000000..05340f9a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhU-b.snap new file mode 100644 index 00000000..74c29f2a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 312 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhU-wfsAN.snap new file mode 100644 index 00000000..d4cffd1d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhU-wfsAU.snap new file mode 100644 index 00000000..3f38413c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 320 × 0, bounds: 1280 × 720, states: [] +size: 320 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhU-wfsBN.snap new file mode 100644 index 00000000..acee6b96 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhU-wfsBU.snap new file mode 100644 index 00000000..0bc6e745 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhU.snap new file mode 100644 index 00000000..2d64be29 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwP0.25-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { proportion 0.25; }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 320 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhF500-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhF500-b-wfsAN.snap new file mode 100644 index 00000000..70b2b14c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhF500-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhF500-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhF500-b-wfsAU.snap new file mode 100644 index 00000000..38dc6d2c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhF500-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 0 × 500, bounds: 1272 × 712, states: [] +size: 1 × 500, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhF500-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhF500-b-wfsBN.snap new file mode 100644 index 00000000..ead5f196 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhF500-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhF500-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhF500-b-wfsBU.snap new file mode 100644 index 00000000..e6307a47 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhF500-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhF500-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhF500-b.snap new file mode 100644 index 00000000..c0ce8832 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhF500-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhF500-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhF500-wfsAN.snap new file mode 100644 index 00000000..11621fa1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhF500-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhF500-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhF500-wfsAU.snap new file mode 100644 index 00000000..13fe998a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhF500-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 0 × 500, bounds: 1280 × 720, states: [] +size: 1 × 500, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhF500-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhF500-wfsBN.snap new file mode 100644 index 00000000..dca6a439 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhF500-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhF500-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhF500-wfsBU.snap new file mode 100644 index 00000000..bebd2b78 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhF500-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhF500.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhF500.snap new file mode 100644 index 00000000..1b529912 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhF500.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { fixed 500; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 500, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhP0.5-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhP0.5-b-wfsAN.snap new file mode 100644 index 00000000..46f61064 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhP0.5-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhP0.5-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhP0.5-b-wfsAU.snap new file mode 100644 index 00000000..09acc2d6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhP0.5-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 0 × 352, bounds: 1272 × 712, states: [] +size: 1 × 352, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhP0.5-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhP0.5-b-wfsBN.snap new file mode 100644 index 00000000..2f70fd6e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhP0.5-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhP0.5-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhP0.5-b-wfsBU.snap new file mode 100644 index 00000000..57d70794 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhP0.5-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhP0.5-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhP0.5-b.snap new file mode 100644 index 00000000..ea8c6252 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhP0.5-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 352, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhP0.5-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhP0.5-wfsAN.snap new file mode 100644 index 00000000..a3e8a48a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhP0.5-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhP0.5-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhP0.5-wfsAU.snap new file mode 100644 index 00000000..2850e078 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhP0.5-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 0 × 360, bounds: 1280 × 720, states: [] +size: 1 × 360, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhP0.5-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhP0.5-wfsBN.snap new file mode 100644 index 00000000..1036d052 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhP0.5-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhP0.5-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhP0.5-wfsBU.snap new file mode 100644 index 00000000..81cfd6a5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhP0.5-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhP0.5.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhP0.5.snap new file mode 100644 index 00000000..2fcc7b11 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhP0.5.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { proportion 0.5; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 360, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhU-b-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhU-b-wfsAN.snap new file mode 100644 index 00000000..89a22ff9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhU-b-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen] +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhU-b-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhU-b-wfsAU.snap new file mode 100644 index 00000000..571de679 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhU-b-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 0 × 0, bounds: 1272 × 712, states: [] +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhU-b-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhU-b-wfsBN.snap new file mode 100644 index 00000000..f8676ee0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhU-b-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1272 × 712, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1240 × 680, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhU-b-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhU-b-wfsBU.snap new file mode 100644 index 00000000..7a8d57f6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhU-b-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhU-b.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhU-b.snap new file mode 100644 index 00000000..a88a82f6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhU-b.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { }\n border { on; }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1272 × 712, states: [] + +post-map configures: +size: 1 × 1, bounds: 1272 × 712, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhU-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhU-wfsAN.snap new file mode 100644 index 00000000..450a95b1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhU-wfsAN.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhU-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhU-wfsAU.snap new file mode 100644 index 00000000..e7443266 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhU-wfsAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 0 × 0, bounds: 1280 × 720, states: [] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhU-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhU-wfsBN.snap new file mode 100644 index 00000000..dd41c93a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhU-wfsBN.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhU-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhU-wfsBU.snap new file mode 100644 index 00000000..b06d6b43 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhU-wfsBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhU.snap new file mode 100644 index 00000000..8cee5d7f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_size@omT-ofT-dwU-dhU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n open-maximized true\n open-floating true\n default-column-width { }\n default-window-height { }\n}" +expression: snapshot +snapshot_kind: text +--- +initial configure: +size: 0 × 0, bounds: 1280 × 720, states: [] + +post-map configures: +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/window_opening.rs b/src/tests/window_opening.rs index d4091f08..8c924886 100644 --- a/src/tests/window_opening.rs +++ b/src/tests/window_opening.rs @@ -401,6 +401,12 @@ fn target_size() { Some(DefaultSize::Proportion("0.25")), Some(DefaultSize::Fixed("1000")), ]; + let default_window_height = [ + None, + Some(DefaultSize::WindowChooses), + Some(DefaultSize::Proportion("0.5")), + Some(DefaultSize::Fixed("500")), + ]; let border = [false, true]; let mut powerset = Vec::new(); @@ -409,8 +415,10 @@ fn target_size() { for om in open_maximized { for of in open_floating { for dw in default_column_width { - for b in border { - powerset.push((fs, wfs, om, of, dw, b)); + for dh in default_window_height { + for b in border { + powerset.push((fs, wfs, om, of, dw, dh, b)); + } } } } @@ -420,8 +428,8 @@ fn target_size() { powerset .into_par_iter() - .for_each(|(fs, wfs, om, of, dw, b)| { - check_target_size(fs, wfs, om, of, dw, b); + .for_each(|(fs, wfs, om, of, dw, dh, b)| { + check_target_size(fs, wfs, om, of, dw, dh, b); }); } @@ -431,6 +439,7 @@ fn check_target_size( open_maximized: Option<&str>, open_floating: Option<&str>, default_width: Option, + default_height: Option, border: bool, ) { let mut snapshot_desc = Vec::new(); @@ -474,6 +483,17 @@ window-rule { snapshot_suffix.push(format!("dw{x}")); } + if let Some(x) = default_height { + let value = match x { + DefaultSize::WindowChooses => String::new(), + DefaultSize::Proportion(prop) => format!("proportion {prop};"), + DefaultSize::Fixed(fixed) => format!("fixed {fixed};"), + }; + writeln!(config, " default-window-height {{ {value} }}").unwrap(); + + snapshot_suffix.push(format!("dh{x}")); + } + if border { writeln!(config, " border {{ on; }}").unwrap(); snapshot_suffix.push(String::from("b")); diff --git a/src/window/mod.rs b/src/window/mod.rs index 0b0b5f1e..44d5359e 100644 --- a/src/window/mod.rs +++ b/src/window/mod.rs @@ -1,6 +1,6 @@ use std::cmp::{max, min}; -use niri_config::{BlockOutFrom, BorderRule, CornerRadius, Match, WindowRule}; +use niri_config::{BlockOutFrom, BorderRule, CornerRadius, Match, PresetSize, WindowRule}; use smithay::reexports::wayland_protocols::xdg::shell::server::xdg_toplevel; use smithay::utils::{Logical, Size}; use smithay::wayland::compositor::with_states; @@ -34,6 +34,13 @@ pub struct ResolvedWindowRules { /// - `Some(Some(width))`: set to a particular width. pub default_width: Option>, + /// Default height for this window. + /// + /// - `None`: unset (global default should be used). + /// - `Some(None)`: set to empty (window picks its own height). + /// - `Some(Some(width))`: set to a particular height. + pub default_height: Option>, + /// Output to open this window on. pub open_on_output: Option, @@ -114,6 +121,7 @@ impl ResolvedWindowRules { pub const fn empty() -> Self { Self { default_width: None, + default_height: None, open_on_output: None, open_on_workspace: None, open_maximized: None, @@ -192,6 +200,10 @@ impl ResolvedWindowRules { resolved.default_width = Some(x); } + if let Some(x) = rule.default_window_height { + resolved.default_height = Some(x.0); + } + if let Some(x) = rule.open_on_output.as_deref() { open_on_output = Some(x); } diff --git a/src/window/unmapped.rs b/src/window/unmapped.rs index 3ea0f1d8..18073a98 100644 --- a/src/window/unmapped.rs +++ b/src/window/unmapped.rs @@ -1,3 +1,4 @@ +use niri_config::PresetSize; use smithay::desktop::Window; use smithay::output::Output; use smithay::wayland::shell::xdg::ToplevelSurface; @@ -40,6 +41,11 @@ pub enum InitialConfigureState { /// `None` means that the window will pick its own width. floating_width: Option, + /// Resolved floating default height for this window. + /// + /// `None` means that the window will pick its own height. + floating_height: Option, + /// Whether the window should open full-width. is_full_width: bool, diff --git a/wiki/Configuration:-Window-Rules.md b/wiki/Configuration:-Window-Rules.md index 84e4d694..bb1b1821 100644 --- a/wiki/Configuration:-Window-Rules.md +++ b/wiki/Configuration:-Window-Rules.md @@ -37,6 +37,7 @@ window-rule { // Properties that apply once upon window opening. default-column-width { proportion 0.75; } + default-window-height { fixed 500; } open-on-output "Some Company CoolMonitor 1234" open-on-workspace "chat" open-maximized true @@ -237,6 +238,21 @@ window-rule { } ``` +#### `default-window-height` + +Since: next release + +Set the default height for the new window if it opens as floating. + +```kdl +// Make Alacritty take 50% of the screen height on opening. +window-rule { + match app-id="^Alacritty$" + + default-window-height { proportion 0.5; } +} +``` + #### `open-on-output` Make the window open on a specific output.