diff --git a/Cargo.lock b/Cargo.lock index eb071563..8ac8b146 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -580,6 +580,18 @@ dependencies = [ "wayland-client", ] +[[package]] +name = "calloop-wayland-source" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "876a7a1dbbe026a55ef47a500b123af5a9a0914520f061d467914cf21be95daf" +dependencies = [ + "calloop 0.14.1", + "rustix 0.38.38", + "wayland-backend", + "wayland-client", +] + [[package]] name = "cc" version = "1.1.31" @@ -821,6 +833,25 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "crossbeam-deque" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51" +dependencies = [ + "crossbeam-epoch", + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-epoch" +version = "0.9.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" +dependencies = [ + "crossbeam-utils", +] + [[package]] name = "crossbeam-utils" version = "0.8.20" @@ -2410,6 +2441,7 @@ dependencies = [ "bitflags 2.6.0", "bytemuck", "calloop 0.14.1", + "calloop-wayland-source 0.4.0", "clap", "directories", "drm-ffi", @@ -2435,6 +2467,7 @@ dependencies = [ "profiling", "proptest", "proptest-derive", + "rayon", "sd-notify", "serde", "serde_json", @@ -2445,6 +2478,7 @@ dependencies = [ "tracy-client", "url", "wayland-backend", + "wayland-client", "wayland-scanner", "xcursor", "xshell", @@ -3337,6 +3371,26 @@ version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "20675572f6f24e9e76ef639bc5552774ed45f1c30e2951e1e99c59888861c539" +[[package]] +name = "rayon" +version = "1.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa" +dependencies = [ + "either", + "rayon-core", +] + +[[package]] +name = "rayon-core" +version = "1.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" +dependencies = [ + "crossbeam-deque", + "crossbeam-utils", +] + [[package]] name = "redox_syscall" version = "0.4.1" @@ -3725,7 +3779,7 @@ checksum = "3457dea1f0eb631b4034d61d4d8c32074caa6cd1ab2d59f2327bd8461e2c0016" dependencies = [ "bitflags 2.6.0", "calloop 0.13.0", - "calloop-wayland-source", + "calloop-wayland-source 0.3.0", "cursor-icon", "libc", "log", diff --git a/Cargo.toml b/Cargo.toml index 83f0cbbf..286f9cac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -107,9 +107,12 @@ features = [ [dev-dependencies] approx = "0.5.1" +calloop-wayland-source = "0.4.0" insta.workspace = true proptest = "1.5.0" proptest-derive = { version = "0.5.0", features = ["boxed_union"] } +rayon = "1.10.0" +wayland-client = "0.31.7" xshell = "0.2.6" [features] diff --git a/src/lib.rs b/src/lib.rs index abce64a1..62d6eebf 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -28,3 +28,6 @@ pub mod pw_utils; #[cfg(not(feature = "xdp-gnome-screencast"))] pub use dummy_pw_utils as pw_utils; + +#[cfg(test)] +mod tests; diff --git a/src/tests/client.rs b/src/tests/client.rs new file mode 100644 index 00000000..4ab3d989 --- /dev/null +++ b/src/tests/client.rs @@ -0,0 +1,536 @@ +use std::cmp::min; +use std::collections::HashMap; +use std::ffi::OsStr; +use std::fmt::Write as _; +use std::os::unix::net::UnixStream; +use std::path::PathBuf; +use std::sync::atomic::{AtomicBool, Ordering}; +use std::sync::Arc; +use std::time::Duration; +use std::{env, fmt}; + +use calloop::EventLoop; +use calloop_wayland_source::WaylandSource; +use single_pixel_buffer::v1::client::wp_single_pixel_buffer_manager_v1::WpSinglePixelBufferManagerV1; +use smithay::reexports::wayland_protocols::wp::single_pixel_buffer; +use smithay::reexports::wayland_protocols::wp::viewporter::client::wp_viewport::WpViewport; +use smithay::reexports::wayland_protocols::wp::viewporter::client::wp_viewporter::WpViewporter; +use smithay::reexports::wayland_protocols::xdg::shell::client::xdg_surface::{self, XdgSurface}; +use smithay::reexports::wayland_protocols::xdg::shell::client::xdg_toplevel::{self, XdgToplevel}; +use smithay::reexports::wayland_protocols::xdg::shell::client::xdg_wm_base::{self, XdgWmBase}; +use wayland_backend::client::Backend; +use wayland_client::globals::Global; +use wayland_client::protocol::wl_buffer::{self, WlBuffer}; +use wayland_client::protocol::wl_callback::{self, WlCallback}; +use wayland_client::protocol::wl_compositor::WlCompositor; +use wayland_client::protocol::wl_display::WlDisplay; +use wayland_client::protocol::wl_output::{self, WlOutput}; +use wayland_client::protocol::wl_registry::{self, WlRegistry}; +use wayland_client::protocol::wl_surface::{self, WlSurface}; +use wayland_client::{Connection, Dispatch, Proxy as _, QueueHandle}; + +use crate::utils::id::IdCounter; + +pub struct Client { + pub id: ClientId, + pub event_loop: EventLoop<'static, State>, + pub connection: Connection, + pub qh: QueueHandle, + pub display: WlDisplay, + pub state: State, +} + +pub struct State { + pub qh: QueueHandle, + + pub globals: Vec, + pub outputs: HashMap, + + pub compositor: Option, + pub xdg_wm_base: Option, + pub spbm: Option, + pub viewporter: Option, + + pub windows: Vec, +} + +pub struct Window { + pub qh: QueueHandle, + pub spbm: WpSinglePixelBufferManagerV1, + + pub surface: WlSurface, + pub xdg_surface: XdgSurface, + pub xdg_toplevel: XdgToplevel, + pub viewport: WpViewport, + pub pending_configure: Configure, + pub configures_received: Vec<(u32, Configure)>, + pub close_requsted: bool, + + pub configures_looked_at: usize, +} + +#[derive(Debug, Clone, Default)] +pub struct Configure { + pub size: (i32, i32), + pub bounds: Option<(i32, i32)>, + pub states: Vec, +} + +#[derive(Default)] +pub struct SyncData { + pub done: AtomicBool, +} + +static CLIENT_ID_COUNTER: IdCounter = IdCounter::new(); + +#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] +pub struct ClientId(u64); + +impl ClientId { + fn next() -> ClientId { + ClientId(CLIENT_ID_COUNTER.next()) + } +} + +impl fmt::Display for Configure { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + write!(f, "size: {} × {}, ", self.size.0, self.size.1)?; + if let Some(bounds) = self.bounds { + write!(f, "bounds: {} × {}, ", bounds.0, bounds.1)?; + } else { + write!(f, "bounds: none, ")?; + } + write!(f, "states: {:?}", self.states)?; + Ok(()) + } +} + +fn connect(socket_name: &OsStr) -> Connection { + let mut socket_path = PathBuf::from(env::var_os("XDG_RUNTIME_DIR").unwrap()); + socket_path.push(socket_name); + + let stream = UnixStream::connect(socket_path).unwrap(); + let backend = Backend::connect(stream).unwrap(); + Connection::from_backend(backend) +} + +impl Client { + pub fn new(socket_name: &OsStr) -> Self { + let id = ClientId::next(); + + let event_loop = EventLoop::try_new().unwrap(); + let connection = connect(socket_name); + let queue = connection.new_event_queue(); + let qh = queue.handle(); + WaylandSource::new(connection.clone(), queue) + .insert(event_loop.handle()) + .unwrap(); + + let display = connection.display(); + let _registry = display.get_registry(&qh, ()); + connection.flush().unwrap(); + + let state = State { + qh: qh.clone(), + globals: Vec::new(), + outputs: HashMap::new(), + compositor: None, + xdg_wm_base: None, + spbm: None, + viewporter: None, + windows: Vec::new(), + }; + + Self { + id, + event_loop, + connection, + qh, + display, + state, + } + } + + pub fn dispatch(&mut self) { + self.event_loop + .dispatch(Duration::ZERO, &mut self.state) + .unwrap(); + } + + pub fn send_sync(&self) -> Arc { + let data = Arc::new(SyncData::default()); + self.display.sync(&self.qh, data.clone()); + self.connection.flush().unwrap(); + data + } + + pub fn create_window(&mut self) -> &mut Window { + self.state.create_window() + } + + pub fn window(&mut self, surface: &WlSurface) -> &mut Window { + self.state.window(surface) + } + + pub fn output(&mut self, name: &str) -> WlOutput { + self.state + .outputs + .iter() + .find(|(_, v)| *v == name) + .unwrap() + .0 + .clone() + } +} + +impl State { + pub fn create_window(&mut self) -> &mut Window { + let compositor = self.compositor.as_ref().unwrap(); + let xdg_wm_base = self.xdg_wm_base.as_ref().unwrap(); + let viewporter = self.viewporter.as_ref().unwrap(); + + let surface = compositor.create_surface(&self.qh, ()); + let xdg_surface = xdg_wm_base.get_xdg_surface(&surface, &self.qh, ()); + let xdg_toplevel = xdg_surface.get_toplevel(&self.qh, ()); + let viewport = viewporter.get_viewport(&surface, &self.qh, ()); + + let window = Window { + qh: self.qh.clone(), + spbm: self.spbm.clone().unwrap(), + + surface, + xdg_surface, + xdg_toplevel, + viewport, + pending_configure: Configure::default(), + configures_received: Vec::new(), + close_requsted: false, + + configures_looked_at: 0, + }; + + self.windows.push(window); + self.windows.last_mut().unwrap() + } + + pub fn window(&mut self, surface: &WlSurface) -> &mut Window { + self.windows + .iter_mut() + .find(|w| w.surface == *surface) + .unwrap() + } +} + +impl Window { + pub fn commit(&self) { + self.surface.commit(); + } + + pub fn ack_last(&self) { + let serial = self.configures_received.last().unwrap().0; + self.xdg_surface.ack_configure(serial); + } + + pub fn ack_last_and_commit(&self) { + self.ack_last(); + self.commit(); + } + + pub fn attach_new_buffer(&self) { + let buffer = self.spbm.create_u32_rgba_buffer(0, 0, 0, 0, &self.qh, ()); + self.surface.attach(Some(&buffer), 0, 0); + } + + pub fn set_size(&self, w: u16, h: u16) { + self.viewport.set_destination(i32::from(w), i32::from(h)); + } + + pub fn set_fullscreen(&self, output: Option<&WlOutput>) { + self.xdg_toplevel.set_fullscreen(output); + } + + pub fn unset_fullscreen(&self) { + self.xdg_toplevel.unset_fullscreen(); + } + + pub fn set_parent(&self, parent: Option<&XdgToplevel>) { + self.xdg_toplevel.set_parent(parent); + } + + pub fn set_title(&self, title: &str) { + self.xdg_toplevel.set_title(title.to_owned()); + } + + pub fn recent_configures(&mut self) -> impl Iterator { + let start = self.configures_looked_at; + self.configures_looked_at = self.configures_received.len(); + self.configures_received[start..].iter().map(|(_, c)| c) + } + + pub fn format_recent_configures(&mut self) -> String { + let mut buf = String::new(); + for configure in self.recent_configures() { + if !buf.is_empty() { + buf.push('\n'); + } + write!(buf, "{configure}").unwrap(); + } + buf + } +} + +impl Dispatch> for State { + fn event( + _state: &mut Self, + _proxy: &WlCallback, + event: ::Event, + data: &Arc, + _conn: &Connection, + _qhandle: &QueueHandle, + ) { + match event { + wl_callback::Event::Done { .. } => data.done.store(true, Ordering::Relaxed), + _ => unreachable!(), + } + } +} + +impl Dispatch for State { + fn event( + state: &mut Self, + registry: &WlRegistry, + event: ::Event, + _data: &(), + _conn: &Connection, + qh: &QueueHandle, + ) { + match event { + wl_registry::Event::Global { + name, + interface, + version, + } => { + if interface == WlCompositor::interface().name { + let version = min(version, WlCompositor::interface().version); + state.compositor = Some(registry.bind(name, version, qh, ())); + } else if interface == XdgWmBase::interface().name { + let version = min(version, XdgWmBase::interface().version); + state.xdg_wm_base = Some(registry.bind(name, version, qh, ())); + } else if interface == WpSinglePixelBufferManagerV1::interface().name { + let version = min(version, WpSinglePixelBufferManagerV1::interface().version); + state.spbm = Some(registry.bind(name, version, qh, ())); + } else if interface == WpViewporter::interface().name { + let version = min(version, WpViewporter::interface().version); + state.viewporter = Some(registry.bind(name, version, qh, ())); + } else if interface == WlOutput::interface().name { + let version = min(version, WlOutput::interface().version); + let output = registry.bind(name, version, qh, ()); + state.outputs.insert(output, String::new()); + } + + let global = Global { + name, + interface, + version, + }; + state.globals.push(global); + } + wl_registry::Event::GlobalRemove { .. } => (), + _ => unreachable!(), + } + } +} + +impl Dispatch for State { + fn event( + state: &mut Self, + output: &WlOutput, + event: ::Event, + _data: &(), + _conn: &Connection, + _qhandle: &QueueHandle, + ) { + match event { + wl_output::Event::Geometry { .. } => (), + wl_output::Event::Mode { .. } => (), + wl_output::Event::Done => (), + wl_output::Event::Scale { .. } => (), + wl_output::Event::Name { name } => { + *state.outputs.get_mut(output).unwrap() = name; + } + wl_output::Event::Description { .. } => (), + _ => unreachable!(), + } + } +} + +impl Dispatch for State { + fn event( + _state: &mut Self, + _proxy: &WlCompositor, + _event: ::Event, + _data: &(), + _conn: &Connection, + _qhandle: &QueueHandle, + ) { + unreachable!() + } +} + +impl Dispatch for State { + fn event( + _state: &mut Self, + xdg_wm_base: &XdgWmBase, + event: ::Event, + _data: &(), + _conn: &Connection, + _qhandle: &QueueHandle, + ) { + match event { + xdg_wm_base::Event::Ping { serial } => { + xdg_wm_base.pong(serial); + } + _ => unreachable!(), + } + } +} + +impl Dispatch for State { + fn event( + _state: &mut Self, + _proxy: &WlSurface, + event: ::Event, + _data: &(), + _conn: &Connection, + _qhandle: &QueueHandle, + ) { + match event { + wl_surface::Event::Enter { .. } => (), + wl_surface::Event::Leave { .. } => (), + wl_surface::Event::PreferredBufferScale { .. } => (), + wl_surface::Event::PreferredBufferTransform { .. } => (), + _ => unreachable!(), + } + } +} + +impl Dispatch for State { + fn event( + state: &mut Self, + xdg_surface: &XdgSurface, + event: ::Event, + _data: &(), + _conn: &Connection, + _qhandle: &QueueHandle, + ) { + match event { + xdg_surface::Event::Configure { serial } => { + let window = state + .windows + .iter_mut() + .find(|w| w.xdg_surface == *xdg_surface) + .unwrap(); + let configure = window.pending_configure.clone(); + window.configures_received.push((serial, configure)); + } + _ => unreachable!(), + } + } +} + +impl Dispatch for State { + fn event( + state: &mut Self, + xdg_toplevel: &XdgToplevel, + event: ::Event, + _data: &(), + _conn: &Connection, + _qhandle: &QueueHandle, + ) { + let window = state + .windows + .iter_mut() + .find(|w| w.xdg_toplevel == *xdg_toplevel) + .unwrap(); + + match event { + xdg_toplevel::Event::Configure { + width, + height, + states, + } => { + let configure = &mut window.pending_configure; + configure.size = (width, height); + configure.states = states + .chunks_exact(4) + .flat_map(TryInto::<[u8; 4]>::try_into) + .map(u32::from_ne_bytes) + .flat_map(xdg_toplevel::State::try_from) + .collect(); + } + xdg_toplevel::Event::Close => { + window.close_requsted = true; + } + xdg_toplevel::Event::ConfigureBounds { width, height } => { + window.pending_configure.bounds = Some((width, height)); + } + xdg_toplevel::Event::WmCapabilities { .. } => (), + _ => unreachable!(), + } + } +} + +impl Dispatch for State { + fn event( + _state: &mut Self, + _proxy: &WlBuffer, + event: ::Event, + _data: &(), + _conn: &Connection, + _qhandle: &QueueHandle, + ) { + match event { + wl_buffer::Event::Release => (), + _ => unreachable!(), + } + } +} + +impl Dispatch for State { + fn event( + _state: &mut Self, + _proxy: &WpSinglePixelBufferManagerV1, + _event: ::Event, + _data: &(), + _conn: &Connection, + _qhandle: &QueueHandle, + ) { + unreachable!() + } +} + +impl Dispatch for State { + fn event( + _state: &mut Self, + _proxy: &WpViewporter, + _event: ::Event, + _data: &(), + _conn: &Connection, + _qhandle: &QueueHandle, + ) { + unreachable!() + } +} + +impl Dispatch for State { + fn event( + _state: &mut Self, + _proxy: &WpViewport, + _event: ::Event, + _data: &(), + _conn: &Connection, + _qhandle: &QueueHandle, + ) { + unreachable!() + } +} diff --git a/src/tests/fixture.rs b/src/tests/fixture.rs new file mode 100644 index 00000000..742544a7 --- /dev/null +++ b/src/tests/fixture.rs @@ -0,0 +1,124 @@ +use std::os::fd::AsFd as _; +use std::sync::atomic::Ordering; +use std::time::Duration; + +use calloop::generic::Generic; +use calloop::{EventLoop, Interest, LoopHandle, Mode, PostAction}; +use niri_config::Config; + +use super::client::{Client, ClientId}; +use super::server::Server; +use crate::niri::Niri; + +pub struct Fixture { + pub event_loop: EventLoop<'static, State>, + pub handle: LoopHandle<'static, State>, + pub state: State, +} + +pub struct State { + pub server: Server, + pub clients: Vec, +} + +impl Fixture { + pub fn new() -> Self { + Self::with_config(Config::default()) + } + + pub fn with_config(config: Config) -> Self { + let event_loop = EventLoop::try_new().unwrap(); + let handle = event_loop.handle(); + + let server = Server::new(config); + let fd = server.event_loop.as_fd().try_clone_to_owned().unwrap(); + let source = Generic::new(fd, Interest::READ, Mode::Level); + handle + .insert_source(source, |_, _, state: &mut State| { + state.server.dispatch(); + Ok(PostAction::Continue) + }) + .unwrap(); + + let state = State { + server, + clients: Vec::new(), + }; + + Self { + event_loop, + handle, + state, + } + } + + pub fn dispatch(&mut self) { + self.event_loop + .dispatch(Duration::ZERO, &mut self.state) + .unwrap(); + } + + pub fn niri_state(&mut self) -> &mut crate::niri::State { + &mut self.state.server.state + } + + pub fn niri(&mut self) -> &mut Niri { + &mut self.niri_state().niri + } + + pub fn add_output(&mut self, n: u8, size: (u16, u16)) { + let state = self.niri_state(); + let niri = &mut state.niri; + state.backend.headless().add_output(niri, n, size); + } + + pub fn add_client(&mut self) -> ClientId { + let client = Client::new(&self.state.server.state.niri.socket_name); + let id = client.id; + + let fd = client.event_loop.as_fd().try_clone_to_owned().unwrap(); + let source = Generic::new(fd, Interest::READ, Mode::Level); + self.handle + .insert_source(source, move |_, _, state: &mut State| { + state.client(id).dispatch(); + Ok(PostAction::Continue) + }) + .unwrap(); + + self.state.clients.push(client); + self.roundtrip(id); + id + } + + pub fn client(&mut self, id: ClientId) -> &mut Client { + self.state.client(id) + } + + pub fn roundtrip(&mut self, id: ClientId) { + let client = self.state.client(id); + let data = client.send_sync(); + while !data.done.load(Ordering::Relaxed) { + self.dispatch(); + } + } + + /// Rountrip twice in a row. + /// + /// For some reason, when running tests on many threads at once, a single roundtrip is + /// sometimes not sufficient to get the configure events to the client. + /// + /// I suspect that this is because these configure events are sent from the niri loop callback, + /// so they arrive after the sync done event and don't get processed in that client dispatch + /// cycle. I'm not sure why this would be dependent on multithreading. But if this is indeed + /// the issue, then a double roundtrip fixes it. + pub fn double_roundtrip(&mut self, id: ClientId) { + self.roundtrip(id); + self.roundtrip(id); + } +} + +impl State { + pub fn client(&mut self, id: ClientId) -> &mut Client { + self.clients.iter_mut().find(|c| c.id == id).unwrap() + } +} diff --git a/src/tests/mod.rs b/src/tests/mod.rs new file mode 100644 index 00000000..1e31478a --- /dev/null +++ b/src/tests/mod.rs @@ -0,0 +1,7 @@ +use fixture::Fixture; + +mod client; +mod fixture; +mod server; + +mod window_opening; diff --git a/src/tests/server.rs b/src/tests/server.rs new file mode 100644 index 00000000..7f6403a4 --- /dev/null +++ b/src/tests/server.rs @@ -0,0 +1,37 @@ +use std::time::Duration; + +use calloop::EventLoop; +use niri_config::Config; +use smithay::reexports::wayland_server::Display; + +use crate::niri::State; + +pub struct Server { + pub event_loop: EventLoop<'static, State>, + pub state: State, +} + +impl Server { + pub fn new(config: Config) -> Self { + let event_loop = EventLoop::try_new().unwrap(); + let handle = event_loop.handle(); + let display = Display::new().unwrap(); + let state = State::new( + config, + handle.clone(), + event_loop.get_signal(), + display, + true, + ) + .unwrap(); + + Self { event_loop, state } + } + + pub fn dispatch(&mut self) { + self.event_loop + .dispatch(Duration::ZERO, &mut self.state) + .unwrap(); + self.state.refresh_and_flush_clients(); + } +} diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace.snap new file mode 100644 index 00000000..473157d7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsF-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spA1.snap new file mode 100644 index 00000000..f02dddac --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsF-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spA2.snap new file mode 100644 index 00000000..8499d64d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsF-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spB1.snap new file mode 100644 index 00000000..a4b21067 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsF-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spB2.snap new file mode 100644 index 00000000..c7f10983 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA1-spA1.snap new file mode 100644 index 00000000..848b895a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA1-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsF-wfsA1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA1-spA2.snap new file mode 100644 index 00000000..37eabd06 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA1-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsF-wfsA1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA1-spB1.snap new file mode 100644 index 00000000..69fed033 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA1-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsF-wfsA1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA1-spB2.snap new file mode 100644 index 00000000..ca798526 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA1-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA1.snap new file mode 100644 index 00000000..04367b43 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsF-wfsA2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA2-spA1.snap new file mode 100644 index 00000000..52d1047e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA2-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA2-spA2.snap new file mode 100644 index 00000000..170c11e0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA2-spB1.snap new file mode 100644 index 00000000..4c41903d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA2-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA2-spB2.snap new file mode 100644 index 00000000..30f966c4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA2.snap new file mode 100644 index 00000000..3655ce42 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spA1.snap new file mode 100644 index 00000000..9a34d044 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsF-wfsAA-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spA2.snap new file mode 100644 index 00000000..3cca1af2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsF-wfsAA-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spB1.snap new file mode 100644 index 00000000..cbaa9250 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsF-wfsAA-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spB2.snap new file mode 100644 index 00000000..03b39757 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA.snap new file mode 100644 index 00000000..ab82237a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsF-wfsAN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAN-spA1.snap new file mode 100644 index 00000000..66271072 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAN-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsF-wfsAN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAN-spA2.snap new file mode 100644 index 00000000..fd68dbe8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAN-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsF-wfsAN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAN-spB1.snap new file mode 100644 index 00000000..8b0ffc4b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAN-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsF-wfsAN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAN-spB2.snap new file mode 100644 index 00000000..df565118 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAN-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAN.snap new file mode 100644 index 00000000..2d74f336 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAN.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsF-wfsB1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spA1.snap new file mode 100644 index 00000000..1cc2c1a0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsF-wfsB1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spA2.snap new file mode 100644 index 00000000..06b7d799 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsF-wfsB1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spB1.snap new file mode 100644 index 00000000..414d0743 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsF-wfsB1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spB2.snap new file mode 100644 index 00000000..c543ee1b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsF-wfsB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1.snap new file mode 100644 index 00000000..93edc62d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsF-wfsB2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spA1.snap new file mode 100644 index 00000000..e43e7bae --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spA2.snap new file mode 100644 index 00000000..aa8e4f73 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spB1.snap new file mode 100644 index 00000000..37c6140c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spB2.snap new file mode 100644 index 00000000..d383e3f2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2.snap new file mode 100644 index 00000000..0a0d7937 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spA1.snap new file mode 100644 index 00000000..6f0369eb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsF-wfsBN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spA2.snap new file mode 100644 index 00000000..b4c01dc1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsF-wfsBN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spB1.snap new file mode 100644 index 00000000..d7cd751e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsF-wfsBN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spB2.snap new file mode 100644 index 00000000..7f519e85 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN.snap new file mode 100644 index 00000000..7981a113 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsF-wfsBU-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spA1.snap new file mode 100644 index 00000000..f598ccf3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsF-wfsBU-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spA2.snap new file mode 100644 index 00000000..4d4fa5ea --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsF-wfsBU-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spB1.snap new file mode 100644 index 00000000..ef1183a6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsF-wfsBU-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spB2.snap new file mode 100644 index 00000000..54b885ee --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU.snap new file mode 100644 index 00000000..72f633a9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsF.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF.snap new file mode 100644 index 00000000..659fc63f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsT-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-spA1.snap new file mode 100644 index 00000000..a1e5d424 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsT-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-spA2.snap new file mode 100644 index 00000000..f9da4e13 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsT-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-spB1.snap new file mode 100644 index 00000000..7a914f2f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsT-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-spB2.snap new file mode 100644 index 00000000..5e6ed5c5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA1-spA1.snap new file mode 100644 index 00000000..70b3ba2a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA1-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsT-wfsA1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA1-spA2.snap new file mode 100644 index 00000000..2b9ca28b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA1-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsT-wfsA1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA1-spB1.snap new file mode 100644 index 00000000..7a001004 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA1-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsT-wfsA1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA1-spB2.snap new file mode 100644 index 00000000..2607367d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA1-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA1.snap new file mode 100644 index 00000000..0d38c6ca --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsT-wfsA2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA2-spA1.snap new file mode 100644 index 00000000..ab5bb798 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA2-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA2-spA2.snap new file mode 100644 index 00000000..416340be --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA2-spB1.snap new file mode 100644 index 00000000..244c5e2e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA2-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA2-spB2.snap new file mode 100644 index 00000000..b8d5f2f3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA2.snap new file mode 100644 index 00000000..05d52b93 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spA1.snap new file mode 100644 index 00000000..795ac0ba --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsT-wfsAA-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spA2.snap new file mode 100644 index 00000000..29a0e5ce --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsT-wfsAA-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spB1.snap new file mode 100644 index 00000000..2fd1944a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsT-wfsAA-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spB2.snap new file mode 100644 index 00000000..6b23ac7e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA.snap new file mode 100644 index 00000000..508b2bad --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsT-wfsAN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAN-spA1.snap new file mode 100644 index 00000000..e2b98c1f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAN-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsT-wfsAN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAN-spA2.snap new file mode 100644 index 00000000..f7ba4bee --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAN-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsT-wfsAN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAN-spB1.snap new file mode 100644 index 00000000..63142ed4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAN-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsT-wfsAN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAN-spB2.snap new file mode 100644 index 00000000..c12cb3b4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAN-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAN.snap new file mode 100644 index 00000000..e77166bd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAN.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsT-wfsB1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB1-spA1.snap new file mode 100644 index 00000000..88241e3c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB1-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsT-wfsB1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB1-spA2.snap new file mode 100644 index 00000000..8d0677f9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB1-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsT-wfsB1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB1-spB1.snap new file mode 100644 index 00000000..87ac9935 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB1-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsT-wfsB1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB1-spB2.snap new file mode 100644 index 00000000..92ca5cb9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB1-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsT-wfsB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB1.snap new file mode 100644 index 00000000..47267185 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsT-wfsB2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB2-spA1.snap new file mode 100644 index 00000000..e08a5888 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB2-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB2-spA2.snap new file mode 100644 index 00000000..f5055a66 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB2-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB2-spB1.snap new file mode 100644 index 00000000..90e44465 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB2-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB2-spB2.snap new file mode 100644 index 00000000..dcef1362 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB2-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB2.snap new file mode 100644 index 00000000..8f00cdad --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBN-spA1.snap new file mode 100644 index 00000000..a91961dd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBN-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsT-wfsBN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBN-spA2.snap new file mode 100644 index 00000000..dfaaf1da --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBN-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsT-wfsBN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBN-spB1.snap new file mode 100644 index 00000000..1ff1154a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBN-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsT-wfsBN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBN-spB2.snap new file mode 100644 index 00000000..969039fd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBN-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBN.snap new file mode 100644 index 00000000..0ce6f58f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBN.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsT-wfsBU-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBU-spA1.snap new file mode 100644 index 00000000..46f2fe66 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBU-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsT-wfsBU-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBU-spA2.snap new file mode 100644 index 00000000..bc4a0ab4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBU-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsT-wfsBU-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBU-spB1.snap new file mode 100644 index 00000000..6b58b5e9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBU-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsT-wfsBU-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBU-spB2.snap new file mode 100644 index 00000000..4f78a1fb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBU-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBU.snap new file mode 100644 index 00000000..9bfa3cf0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBU.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@fsT.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT.snap new file mode 100644 index 00000000..0512a054 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spA1.snap new file mode 100644 index 00000000..3ae222f5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spA2.snap new file mode 100644 index 00000000..ea477316 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spB1.snap new file mode 100644 index 00000000..b99e7ece --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spB2.snap new file mode 100644 index 00000000..f454ba50 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsA1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA1-spA1.snap new file mode 100644 index 00000000..7d2a8841 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA1-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsA1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA1-spA2.snap new file mode 100644 index 00000000..12968233 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA1-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsA1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA1-spB1.snap new file mode 100644 index 00000000..3d413f93 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA1-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsA1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA1-spB2.snap new file mode 100644 index 00000000..73304f09 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA1-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA1.snap new file mode 100644 index 00000000..63c8483b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsA2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA2-spA1.snap new file mode 100644 index 00000000..5e5a213e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA2-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA2-spA2.snap new file mode 100644 index 00000000..d29a5980 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA2-spB1.snap new file mode 100644 index 00000000..e91cc902 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA2-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA2-spB2.snap new file mode 100644 index 00000000..1232051d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA2.snap new file mode 100644 index 00000000..22815c28 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spA1.snap new file mode 100644 index 00000000..f3e11cf3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsAA-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spA2.snap new file mode 100644 index 00000000..6f8d4c58 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsAA-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spB1.snap new file mode 100644 index 00000000..8a64b42f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsAA-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spB2.snap new file mode 100644 index 00000000..f5f2c676 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsAA.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA.snap new file mode 100644 index 00000000..65ae9711 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsAN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAN-spA1.snap new file mode 100644 index 00000000..1afc146f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAN-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsAN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAN-spA2.snap new file mode 100644 index 00000000..e70c7972 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAN-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsAN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAN-spB1.snap new file mode 100644 index 00000000..03369a66 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAN-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsAN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAN-spB2.snap new file mode 100644 index 00000000..662f03a7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAN-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAN.snap new file mode 100644 index 00000000..979ef1d5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAN.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsB1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spA1.snap new file mode 100644 index 00000000..3cd7ddf6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsB1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spA2.snap new file mode 100644 index 00000000..b47a1c22 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsB1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spB1.snap new file mode 100644 index 00000000..9fc2a6cc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsB1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spB2.snap new file mode 100644 index 00000000..23fc69ba --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1.snap new file mode 100644 index 00000000..62f6d950 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsB2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spA1.snap new file mode 100644 index 00000000..5bda152d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsB2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spA2.snap new file mode 100644 index 00000000..530c4754 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsB2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spB1.snap new file mode 100644 index 00000000..568394ae --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsB2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spB2.snap new file mode 100644 index 00000000..20849e37 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2.snap new file mode 100644 index 00000000..e17801de --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsBN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spA1.snap new file mode 100644 index 00000000..b017f1fa --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsBN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spA2.snap new file mode 100644 index 00000000..1238d733 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsBN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spB1.snap new file mode 100644 index 00000000..c0938976 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsBN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spB2.snap new file mode 100644 index 00000000..7b2af736 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN.snap new file mode 100644 index 00000000..95586985 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsBU-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spA1.snap new file mode 100644 index 00000000..b432d704 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsBU-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spA2.snap new file mode 100644 index 00000000..1c8a8895 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsBU-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spB1.snap new file mode 100644 index 00000000..35d21314 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsBU-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spB2.snap new file mode 100644 index 00000000..e0933a68 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU.snap new file mode 100644 index 00000000..205012e7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsF.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF.snap new file mode 100644 index 00000000..13f7b9b5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-spA1.snap new file mode 100644 index 00000000..040bef99 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-spA2.snap new file mode 100644 index 00000000..57ffd52c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-spB1.snap new file mode 100644 index 00000000..b67b4e7d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-spB2.snap new file mode 100644 index 00000000..96db6daf --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsA1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA1-spA1.snap new file mode 100644 index 00000000..b256baf7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA1-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsA1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA1-spA2.snap new file mode 100644 index 00000000..a1ce8fcb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA1-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsA1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA1-spB1.snap new file mode 100644 index 00000000..5316182f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA1-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsA1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA1-spB2.snap new file mode 100644 index 00000000..e59edb77 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA1-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA1.snap new file mode 100644 index 00000000..c8ec3873 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsA2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA2-spA1.snap new file mode 100644 index 00000000..7065518c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA2-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA2-spA2.snap new file mode 100644 index 00000000..1a4a816f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA2-spB1.snap new file mode 100644 index 00000000..cb947dd4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA2-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA2-spB2.snap new file mode 100644 index 00000000..52992586 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA2.snap new file mode 100644 index 00000000..33dbab2a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spA1.snap new file mode 100644 index 00000000..a14cabea --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsAA-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spA2.snap new file mode 100644 index 00000000..f44c6dd0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsAA-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spB1.snap new file mode 100644 index 00000000..f7b62a5a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsAA-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spB2.snap new file mode 100644 index 00000000..20938852 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsAA.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA.snap new file mode 100644 index 00000000..2d9cbec5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsAN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAN-spA1.snap new file mode 100644 index 00000000..319f6a87 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAN-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsAN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAN-spA2.snap new file mode 100644 index 00000000..aa5ccb2b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAN-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsAN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAN-spB1.snap new file mode 100644 index 00000000..a8472faf --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAN-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsAN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAN-spB2.snap new file mode 100644 index 00000000..6f2b06b5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAN-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAN.snap new file mode 100644 index 00000000..77fcd6fe --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAN.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsB1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB1-spA1.snap new file mode 100644 index 00000000..ebf4e24a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB1-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsB1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB1-spA2.snap new file mode 100644 index 00000000..900cc1a6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB1-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsB1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB1-spB1.snap new file mode 100644 index 00000000..992fb5c5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB1-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsB1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB1-spB2.snap new file mode 100644 index 00000000..b80292a2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB1-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB1.snap new file mode 100644 index 00000000..66b40f03 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsB2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB2-spA1.snap new file mode 100644 index 00000000..eb792d97 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB2-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsB2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB2-spA2.snap new file mode 100644 index 00000000..efe4f038 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsB2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB2-spB1.snap new file mode 100644 index 00000000..f4dabd57 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB2-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsB2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB2-spB2.snap new file mode 100644 index 00000000..18526833 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB2.snap new file mode 100644 index 00000000..8c615746 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsBN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBN-spA1.snap new file mode 100644 index 00000000..baec579a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBN-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsBN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBN-spA2.snap new file mode 100644 index 00000000..16f10c92 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBN-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsBN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBN-spB1.snap new file mode 100644 index 00000000..571de5ca --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBN-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsBN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBN-spB2.snap new file mode 100644 index 00000000..447d30b8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBN-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBN.snap new file mode 100644 index 00000000..513d3d13 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBN.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsBU-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBU-spA1.snap new file mode 100644 index 00000000..fba5cfeb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBU-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsBU-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBU-spA2.snap new file mode 100644 index 00000000..e6a1ca88 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBU-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsBU-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBU-spB1.snap new file mode 100644 index 00000000..b3e85ac7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBU-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsBU-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBU-spB2.snap new file mode 100644 index 00000000..1197c0bf --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBU-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBU.snap new file mode 100644 index 00000000..078172a0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBU.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-fsT.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT.snap new file mode 100644 index 00000000..5bb80af0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-spA1.snap new file mode 100644 index 00000000..b7f2367d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-spA2.snap new file mode 100644 index 00000000..7c057f83 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-spB1.snap new file mode 100644 index 00000000..7da0765f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-spB2.snap new file mode 100644 index 00000000..cf20887f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsA1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA1-spA1.snap new file mode 100644 index 00000000..f1a4f0fc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA1-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsA1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA1-spA2.snap new file mode 100644 index 00000000..f48fe4e0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA1-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsA1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA1-spB1.snap new file mode 100644 index 00000000..3ea8fa04 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA1-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsA1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA1-spB2.snap new file mode 100644 index 00000000..340d11cc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA1-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA1.snap new file mode 100644 index 00000000..6d2da037 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsA2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA2-spA1.snap new file mode 100644 index 00000000..25c2c37f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA2-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA2-spA2.snap new file mode 100644 index 00000000..f2cfb3a2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA2-spB1.snap new file mode 100644 index 00000000..c0100a57 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA2-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA2-spB2.snap new file mode 100644 index 00000000..4cdce07b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA2.snap new file mode 100644 index 00000000..b6204bb9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAA-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAA-spA1.snap new file mode 100644 index 00000000..1f368637 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAA-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsAA-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAA-spA2.snap new file mode 100644 index 00000000..cc8c8b5a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAA-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsAA-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAA-spB1.snap new file mode 100644 index 00000000..59216b80 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAA-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsAA-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAA-spB2.snap new file mode 100644 index 00000000..19050e5e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAA-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsAA.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAA.snap new file mode 100644 index 00000000..eb30b38c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAA.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsAN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAN-spA1.snap new file mode 100644 index 00000000..b32305ca --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAN-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsAN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAN-spA2.snap new file mode 100644 index 00000000..44b79ce7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAN-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsAN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAN-spB1.snap new file mode 100644 index 00000000..5f714610 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAN-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsAN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAN-spB2.snap new file mode 100644 index 00000000..fd160286 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAN-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAN.snap new file mode 100644 index 00000000..1930eeb4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAN.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsB1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB1-spA1.snap new file mode 100644 index 00000000..3a0cd294 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB1-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsB1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB1-spA2.snap new file mode 100644 index 00000000..8c34d66c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB1-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsB1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB1-spB1.snap new file mode 100644 index 00000000..0978ac43 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB1-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsB1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB1-spB2.snap new file mode 100644 index 00000000..235c417b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB1-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB1.snap new file mode 100644 index 00000000..35cfabad --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsB2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB2-spA1.snap new file mode 100644 index 00000000..4fd00cbd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB2-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsB2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB2-spA2.snap new file mode 100644 index 00000000..fc21b5dd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsB2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB2-spB1.snap new file mode 100644 index 00000000..4224e6e5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB2-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsB2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB2-spB2.snap new file mode 100644 index 00000000..21b10c14 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB2.snap new file mode 100644 index 00000000..b9d6f0ad --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsBN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBN-spA1.snap new file mode 100644 index 00000000..4c6f848f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBN-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsBN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBN-spA2.snap new file mode 100644 index 00000000..58a6ebec --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBN-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsBN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBN-spB1.snap new file mode 100644 index 00000000..608ae34d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBN-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsBN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBN-spB2.snap new file mode 100644 index 00000000..018e7179 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBN-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBN.snap new file mode 100644 index 00000000..8b939d96 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBN.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsBU-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBU-spA1.snap new file mode 100644 index 00000000..4cf213f6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBU-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsBU-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBU-spA2.snap new file mode 100644 index 00000000..f77ac3b8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBU-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsBU-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBU-spB1.snap new file mode 100644 index 00000000..3f6cd200 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBU-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsBU-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBU-spB2.snap new file mode 100644 index 00000000..1719f5e6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBU-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBU.snap new file mode 100644 index 00000000..83ab93e5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBU.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1.snap new file mode 100644 index 00000000..f8eaf8d4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@out2-fsF-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-spA1.snap new file mode 100644 index 00000000..eb68fefc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-spA2.snap new file mode 100644 index 00000000..17dcc6e8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-spB1.snap new file mode 100644 index 00000000..cacef31b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-spB2.snap new file mode 100644 index 00000000..da69fffb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA1-spA1.snap new file mode 100644 index 00000000..82b7ab9d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA1-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, 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_output_and_workspace@out2-fsF-wfsA1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA1-spA2.snap new file mode 100644 index 00000000..bf334560 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA1-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA1-spB1.snap new file mode 100644 index 00000000..30d7d515 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA1-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, 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_output_and_workspace@out2-fsF-wfsA1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA1-spB2.snap new file mode 100644 index 00000000..1561b17d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA1-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA1.snap new file mode 100644 index 00000000..0f252fcd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA2-spA1.snap new file mode 100644 index 00000000..2bfe51e4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA2-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA2-spA2.snap new file mode 100644 index 00000000..4e6462d5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA2-spB1.snap new file mode 100644 index 00000000..22222a62 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA2-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA2-spB2.snap new file mode 100644 index 00000000..b89b9742 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA2.snap new file mode 100644 index 00000000..91fac334 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA-spA1.snap new file mode 100644 index 00000000..84664863 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA-spA2.snap new file mode 100644 index 00000000..6db2cf9d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA-spB1.snap new file mode 100644 index 00000000..4a7fbf77 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA-spB2.snap new file mode 100644 index 00000000..7496cb6c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA.snap new file mode 100644 index 00000000..16069730 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAN-spA1.snap new file mode 100644 index 00000000..02e3bc9f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAN-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAN-spA2.snap new file mode 100644 index 00000000..526f3351 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAN-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAN-spB1.snap new file mode 100644 index 00000000..e1d20117 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAN-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAN-spB2.snap new file mode 100644 index 00000000..f04afe6b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAN-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAN.snap new file mode 100644 index 00000000..93e4f904 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAN.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1-spA1.snap new file mode 100644 index 00000000..df3352d8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1-spA2.snap new file mode 100644 index 00000000..c3fd628d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1-spB1.snap new file mode 100644 index 00000000..36eb732a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1-spB2.snap new file mode 100644 index 00000000..0bc099b4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1.snap new file mode 100644 index 00000000..1a6eed2f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2-spA1.snap new file mode 100644 index 00000000..d9cd6650 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2-spA2.snap new file mode 100644 index 00000000..344ed482 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2-spB1.snap new file mode 100644 index 00000000..e4e7a11e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2-spB2.snap new file mode 100644 index 00000000..019daaa7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2.snap new file mode 100644 index 00000000..7978f464 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN-spA1.snap new file mode 100644 index 00000000..fa219504 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN-spA2.snap new file mode 100644 index 00000000..9774bc65 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN-spB1.snap new file mode 100644 index 00000000..aececa12 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN-spB2.snap new file mode 100644 index 00000000..6f5bd7f6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN.snap new file mode 100644 index 00000000..d90fdba5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU-spA1.snap new file mode 100644 index 00000000..495327ad --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU-spA2.snap new file mode 100644 index 00000000..e32e32c9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU-spB1.snap new file mode 100644 index 00000000..8a7e700d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU-spB2.snap new file mode 100644 index 00000000..05a29fb9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU.snap new file mode 100644 index 00000000..c0892482 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF.snap new file mode 100644 index 00000000..0f9094d4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-spA1.snap new file mode 100644 index 00000000..126a80f0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-spA2.snap new file mode 100644 index 00000000..861e74fc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-spB1.snap new file mode 100644 index 00000000..52a387fb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-spB2.snap new file mode 100644 index 00000000..a0d72540 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA1-spA1.snap new file mode 100644 index 00000000..cff46d37 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA1-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, 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_output_and_workspace@out2-fsT-wfsA1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA1-spA2.snap new file mode 100644 index 00000000..835a5749 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA1-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA1-spB1.snap new file mode 100644 index 00000000..d41a92b7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA1-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, 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_output_and_workspace@out2-fsT-wfsA1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA1-spB2.snap new file mode 100644 index 00000000..196bb221 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA1-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA1.snap new file mode 100644 index 00000000..fc1a936f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA2-spA1.snap new file mode 100644 index 00000000..e09182ad --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA2-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA2-spA2.snap new file mode 100644 index 00000000..f3f8120d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA2-spB1.snap new file mode 100644 index 00000000..8d2a9ff0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA2-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA2-spB2.snap new file mode 100644 index 00000000..c23cef09 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA2.snap new file mode 100644 index 00000000..3129501d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAA-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAA-spA1.snap new file mode 100644 index 00000000..a61bfdb5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAA-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAA-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAA-spA2.snap new file mode 100644 index 00000000..0c562752 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAA-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAA-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAA-spB1.snap new file mode 100644 index 00000000..06e7562b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAA-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAA-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAA-spB2.snap new file mode 100644 index 00000000..eae4a145 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAA-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAA.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAA.snap new file mode 100644 index 00000000..73d83555 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAA.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAN-spA1.snap new file mode 100644 index 00000000..cab9c5e3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAN-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAN-spA2.snap new file mode 100644 index 00000000..704f03be --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAN-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAN-spB1.snap new file mode 100644 index 00000000..1103d093 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAN-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAN-spB2.snap new file mode 100644 index 00000000..549a0e89 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAN-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAN.snap new file mode 100644 index 00000000..6b4f0a67 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAN.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB1-spA1.snap new file mode 100644 index 00000000..e6458433 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB1-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB1-spA2.snap new file mode 100644 index 00000000..34184d4c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB1-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB1-spB1.snap new file mode 100644 index 00000000..2978821d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB1-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB1-spB2.snap new file mode 100644 index 00000000..79a37e17 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB1-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB1.snap new file mode 100644 index 00000000..66700cd0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB2-spA1.snap new file mode 100644 index 00000000..adafdeb4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB2-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB2-spA2.snap new file mode 100644 index 00000000..a7939501 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB2-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB2-spB1.snap new file mode 100644 index 00000000..e1fac638 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB2-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB2-spB2.snap new file mode 100644 index 00000000..8041a745 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB2-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB2.snap new file mode 100644 index 00000000..b3ffc1a7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBN-spA1.snap new file mode 100644 index 00000000..24f105e3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBN-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBN-spA2.snap new file mode 100644 index 00000000..1d3b31cd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBN-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBN-spB1.snap new file mode 100644 index 00000000..1ecbc28a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBN-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBN-spB2.snap new file mode 100644 index 00000000..7bed426a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBN-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBN.snap new file mode 100644 index 00000000..915a2981 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBN.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBU-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBU-spA1.snap new file mode 100644 index 00000000..843b4e33 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBU-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBU-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBU-spA2.snap new file mode 100644 index 00000000..43593041 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBU-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBU-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBU-spB1.snap new file mode 100644 index 00000000..6fad446d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBU-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBU-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBU-spB2.snap new file mode 100644 index 00000000..89c84874 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBU-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBU.snap new file mode 100644 index 00000000..e7af790d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBU.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT.snap new file mode 100644 index 00000000..0f5f7010 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-spA1.snap new file mode 100644 index 00000000..2c7da4c2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-spA2.snap new file mode 100644 index 00000000..0dd3d181 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-spB1.snap new file mode 100644 index 00000000..1a95ea8c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-spB2.snap new file mode 100644 index 00000000..f9c96f18 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA1-spA1.snap new file mode 100644 index 00000000..246b2604 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA1-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, 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_output_and_workspace@out2-wfsA1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA1-spA2.snap new file mode 100644 index 00000000..cb327353 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA1-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA1-spB1.snap new file mode 100644 index 00000000..67677c17 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA1-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, 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_output_and_workspace@out2-wfsA1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA1-spB2.snap new file mode 100644 index 00000000..86ff4823 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA1-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA1.snap new file mode 100644 index 00000000..ace741af --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA2-spA1.snap new file mode 100644 index 00000000..67b80eca --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA2-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA2-spA2.snap new file mode 100644 index 00000000..9d18305b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA2-spB1.snap new file mode 100644 index 00000000..92148d32 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA2-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA2-spB2.snap new file mode 100644 index 00000000..3742cec2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA2.snap new file mode 100644 index 00000000..1c7f3855 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAA-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAA-spA1.snap new file mode 100644 index 00000000..ebbaa6dd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAA-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAA-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAA-spA2.snap new file mode 100644 index 00000000..eb03bf25 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAA-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAA-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAA-spB1.snap new file mode 100644 index 00000000..e884c009 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAA-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAA-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAA-spB2.snap new file mode 100644 index 00000000..0d3841e6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAA-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAA.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAA.snap new file mode 100644 index 00000000..9f1626b6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAA.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAN-spA1.snap new file mode 100644 index 00000000..e26013aa --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAN-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAN-spA2.snap new file mode 100644 index 00000000..5ae0738e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAN-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAN-spB1.snap new file mode 100644 index 00000000..95286746 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAN-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAN-spB2.snap new file mode 100644 index 00000000..cfdfabb3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAN-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAN.snap new file mode 100644 index 00000000..6e4f2873 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAN.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB1-spA1.snap new file mode 100644 index 00000000..3d705e50 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB1-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB1-spA2.snap new file mode 100644 index 00000000..485b35df --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB1-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB1-spB1.snap new file mode 100644 index 00000000..81399b31 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB1-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB1-spB2.snap new file mode 100644 index 00000000..184bc00e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB1-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB1.snap new file mode 100644 index 00000000..339f3948 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB2-spA1.snap new file mode 100644 index 00000000..22ffc4a0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB2-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB2-spA2.snap new file mode 100644 index 00000000..dd9eed52 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB2-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB2-spB1.snap new file mode 100644 index 00000000..abd5ec9e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB2-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB2-spB2.snap new file mode 100644 index 00000000..7e48c146 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB2-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB2.snap new file mode 100644 index 00000000..2a87e805 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBN-spA1.snap new file mode 100644 index 00000000..1c507985 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBN-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBN-spA2.snap new file mode 100644 index 00000000..e3143bcb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBN-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBN-spB1.snap new file mode 100644 index 00000000..6fd054f3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBN-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBN-spB2.snap new file mode 100644 index 00000000..5e1208ff --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBN-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBN.snap new file mode 100644 index 00000000..014490f7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBN.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBU-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBU-spA1.snap new file mode 100644 index 00000000..998c8052 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBU-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBU-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBU-spA2.snap new file mode 100644 index 00000000..766d51e7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBU-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBU-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBU-spB1.snap new file mode 100644 index 00000000..a4185441 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBU-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBU-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBU-spB2.snap new file mode 100644 index 00000000..e958177c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBU-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBU.snap new file mode 100644 index 00000000..ab0c1830 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBU.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2.snap new file mode 100644 index 00000000..83d8e821 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@spA1.snap new file mode 100644 index 00000000..8f47bceb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@spA2.snap new file mode 100644 index 00000000..e1fbc80f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@spB1.snap new file mode 100644 index 00000000..1d906148 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@spB2.snap new file mode 100644 index 00000000..7f68fa77 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsA1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsA1-spA1.snap new file mode 100644 index 00000000..6706da46 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsA1-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@wfsA1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsA1-spA2.snap new file mode 100644 index 00000000..2fb6c128 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsA1-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@wfsA1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsA1-spB1.snap new file mode 100644 index 00000000..22ec1cae --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsA1-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@wfsA1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsA1-spB2.snap new file mode 100644 index 00000000..99350599 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsA1-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsA1.snap new file mode 100644 index 00000000..f3362a29 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@wfsA2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsA2-spA1.snap new file mode 100644 index 00000000..38de0700 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsA2-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsA2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsA2-spA2.snap new file mode 100644 index 00000000..79f9f795 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsA2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsA2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsA2-spB1.snap new file mode 100644 index 00000000..d439d5a1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsA2-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsA2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsA2-spB2.snap new file mode 100644 index 00000000..49b5f390 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsA2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsA2.snap new file mode 100644 index 00000000..07f3fa9f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsAA-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsAA-spA1.snap new file mode 100644 index 00000000..4eb77cdd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsAA-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@wfsAA-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsAA-spA2.snap new file mode 100644 index 00000000..bbe75937 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsAA-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@wfsAA-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsAA-spB1.snap new file mode 100644 index 00000000..264a1135 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsAA-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@wfsAA-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsAA-spB2.snap new file mode 100644 index 00000000..9d90619d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsAA-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsAA.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsAA.snap new file mode 100644 index 00000000..1b69c366 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsAA.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@wfsAN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsAN-spA1.snap new file mode 100644 index 00000000..05a19091 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsAN-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@wfsAN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsAN-spA2.snap new file mode 100644 index 00000000..86f51768 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsAN-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@wfsAN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsAN-spB1.snap new file mode 100644 index 00000000..4ccc50c1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsAN-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@wfsAN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsAN-spB2.snap new file mode 100644 index 00000000..195b240a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsAN-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsAN.snap new file mode 100644 index 00000000..52be3fcd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsAN.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@wfsB1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsB1-spA1.snap new file mode 100644 index 00000000..df5b772e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsB1-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@wfsB1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsB1-spA2.snap new file mode 100644 index 00000000..e87e7b6c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsB1-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@wfsB1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsB1-spB1.snap new file mode 100644 index 00000000..b7c44a9d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsB1-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@wfsB1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsB1-spB2.snap new file mode 100644 index 00000000..e5da2e32 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsB1-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@wfsB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsB1.snap new file mode 100644 index 00000000..5ff4603d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@wfsB2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsB2-spA1.snap new file mode 100644 index 00000000..e4546147 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsB2-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsB2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsB2-spA2.snap new file mode 100644 index 00000000..2f5b8dfe --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsB2-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsB2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsB2-spB1.snap new file mode 100644 index 00000000..6aaf0218 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsB2-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsB2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsB2-spB2.snap new file mode 100644 index 00000000..4459a4b4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsB2-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsB2.snap new file mode 100644 index 00000000..3a125cdd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsBN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsBN-spA1.snap new file mode 100644 index 00000000..7f28ad61 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsBN-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@wfsBN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsBN-spA2.snap new file mode 100644 index 00000000..2ad247e9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsBN-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@wfsBN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsBN-spB1.snap new file mode 100644 index 00000000..67f83f87 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsBN-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@wfsBN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsBN-spB2.snap new file mode 100644 index 00000000..7c865cd6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsBN-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsBN.snap new file mode 100644 index 00000000..a89587a1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsBN.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@wfsBU-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsBU-spA1.snap new file mode 100644 index 00000000..19abb8db --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsBU-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@wfsBU-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsBU-spA2.snap new file mode 100644 index 00000000..e7b6a893 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsBU-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@wfsBU-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsBU-spB1.snap new file mode 100644 index 00000000..c504fafc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsBU-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@wfsBU-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsBU-spB2.snap new file mode 100644 index 00000000..692e286f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsBU-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsBU.snap new file mode 100644 index 00000000..ccfb6560 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsBU.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-spA1.snap new file mode 100644 index 00000000..4afe2011 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-spA2.snap new file mode 100644 index 00000000..67b16b8d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-spB1.snap new file mode 100644 index 00000000..544011a4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-spB2.snap new file mode 100644 index 00000000..c2a77fde --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsA1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsA1-spA1.snap new file mode 100644 index 00000000..9805d833 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsA1-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsA1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsA1-spA2.snap new file mode 100644 index 00000000..dd6ee830 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsA1-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsA1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsA1-spB1.snap new file mode 100644 index 00000000..96ef39e9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsA1-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsA1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsA1-spB2.snap new file mode 100644 index 00000000..c1f5c131 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsA1-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsA1.snap new file mode 100644 index 00000000..c710efb5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsA2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsA2-spA1.snap new file mode 100644 index 00000000..2454139e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsA2-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsA2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsA2-spA2.snap new file mode 100644 index 00000000..f3882242 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsA2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsA2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsA2-spB1.snap new file mode 100644 index 00000000..a410f8ac --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsA2-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsA2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsA2-spB2.snap new file mode 100644 index 00000000..c647be20 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsA2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsA2.snap new file mode 100644 index 00000000..b6a51aab --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsAA-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsAA-spA1.snap new file mode 100644 index 00000000..b54564ec --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsAA-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsAA-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsAA-spA2.snap new file mode 100644 index 00000000..5c2ef766 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsAA-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsAA-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsAA-spB1.snap new file mode 100644 index 00000000..e08bb16a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsAA-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsAA-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsAA-spB2.snap new file mode 100644 index 00000000..7bba6fcb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsAA-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsAA.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsAA.snap new file mode 100644 index 00000000..456a21e7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsAA.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsAN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsAN-spA1.snap new file mode 100644 index 00000000..a53f2c33 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsAN-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsAN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsAN-spA2.snap new file mode 100644 index 00000000..ff4a8d69 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsAN-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsAN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsAN-spB1.snap new file mode 100644 index 00000000..24b3983c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsAN-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsAN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsAN-spB2.snap new file mode 100644 index 00000000..b5a2fd9e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsAN-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsAN.snap new file mode 100644 index 00000000..62cd395d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsAN.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsB1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsB1-spA1.snap new file mode 100644 index 00000000..c09b312c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsB1-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsB1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsB1-spA2.snap new file mode 100644 index 00000000..a0f48235 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsB1-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsB1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsB1-spB1.snap new file mode 100644 index 00000000..644f7d9e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsB1-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsB1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsB1-spB2.snap new file mode 100644 index 00000000..6b57545c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsB1-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsB1.snap new file mode 100644 index 00000000..e3c23f25 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsB2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsB2-spA1.snap new file mode 100644 index 00000000..259adab2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsB2-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsB2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsB2-spA2.snap new file mode 100644 index 00000000..3ea204cd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsB2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsB2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsB2-spB1.snap new file mode 100644 index 00000000..4921e71d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsB2-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsB2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsB2-spB2.snap new file mode 100644 index 00000000..5dcfe97f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsB2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsB2.snap new file mode 100644 index 00000000..41d0b6d5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsBN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsBN-spA1.snap new file mode 100644 index 00000000..dcc57313 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsBN-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsBN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsBN-spA2.snap new file mode 100644 index 00000000..3d6278d0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsBN-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsBN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsBN-spB1.snap new file mode 100644 index 00000000..b31efd0c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsBN-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsBN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsBN-spB2.snap new file mode 100644 index 00000000..203c12cd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsBN-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsBN.snap new file mode 100644 index 00000000..5ce901f0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsBN.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsBU-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsBU-spA1.snap new file mode 100644 index 00000000..b9393a0e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsBU-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsBU-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsBU-spA2.snap new file mode 100644 index 00000000..201e919d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsBU-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsBU-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsBU-spB1.snap new file mode 100644 index 00000000..eac09fff --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsBU-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsBU-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsBU-spB2.snap new file mode 100644 index 00000000..c92c4ca9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsBU-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsBU.snap new file mode 100644 index 00000000..2739003a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsBU.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsF.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF.snap new file mode 100644 index 00000000..aa360620 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-spA1.snap new file mode 100644 index 00000000..a4a08a86 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-spA2.snap new file mode 100644 index 00000000..6afcc1d6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-spB1.snap new file mode 100644 index 00000000..b8c25aeb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-spB2.snap new file mode 100644 index 00000000..860f6ddb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsA1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsA1-spA1.snap new file mode 100644 index 00000000..02617ebe --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsA1-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsA1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsA1-spA2.snap new file mode 100644 index 00000000..6a55508c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsA1-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsA1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsA1-spB1.snap new file mode 100644 index 00000000..8ba78e8f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsA1-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsA1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsA1-spB2.snap new file mode 100644 index 00000000..9bc8616d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsA1-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsA1.snap new file mode 100644 index 00000000..47738e84 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsA2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsA2-spA1.snap new file mode 100644 index 00000000..d0fcd8ee --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsA2-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsA2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsA2-spA2.snap new file mode 100644 index 00000000..a6bfb452 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsA2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsA2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsA2-spB1.snap new file mode 100644 index 00000000..2de2d663 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsA2-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsA2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsA2-spB2.snap new file mode 100644 index 00000000..d277d0ae --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsA2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsA2.snap new file mode 100644 index 00000000..ef5b8304 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsAA-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsAA-spA1.snap new file mode 100644 index 00000000..2740a3a8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsAA-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsAA-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsAA-spA2.snap new file mode 100644 index 00000000..f4127a41 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsAA-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsAA-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsAA-spB1.snap new file mode 100644 index 00000000..21fd8ba7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsAA-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsAA-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsAA-spB2.snap new file mode 100644 index 00000000..bcb5002e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsAA-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsAA.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsAA.snap new file mode 100644 index 00000000..d175359f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsAA.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsAN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsAN-spA1.snap new file mode 100644 index 00000000..e59171da --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsAN-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsAN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsAN-spA2.snap new file mode 100644 index 00000000..399dfd78 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsAN-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsAN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsAN-spB1.snap new file mode 100644 index 00000000..b7b94185 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsAN-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsAN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsAN-spB2.snap new file mode 100644 index 00000000..9237b8ce --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsAN-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsAN.snap new file mode 100644 index 00000000..9f3eb0fb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsAN.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsB1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsB1-spA1.snap new file mode 100644 index 00000000..c8315b67 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsB1-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsB1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsB1-spA2.snap new file mode 100644 index 00000000..2da5eff7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsB1-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsB1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsB1-spB1.snap new file mode 100644 index 00000000..7eba4641 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsB1-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsB1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsB1-spB2.snap new file mode 100644 index 00000000..9605ed8e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsB1-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsB1.snap new file mode 100644 index 00000000..09213603 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsB2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsB2-spA1.snap new file mode 100644 index 00000000..d96c4337 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsB2-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsB2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsB2-spA2.snap new file mode 100644 index 00000000..f93c0cb5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsB2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsB2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsB2-spB1.snap new file mode 100644 index 00000000..bd303186 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsB2-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsB2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsB2-spB2.snap new file mode 100644 index 00000000..dce5971e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsB2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsB2.snap new file mode 100644 index 00000000..d004a347 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsBN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsBN-spA1.snap new file mode 100644 index 00000000..a37c6653 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsBN-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsBN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsBN-spA2.snap new file mode 100644 index 00000000..d61c3f15 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsBN-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsBN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsBN-spB1.snap new file mode 100644 index 00000000..8b501d6f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsBN-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsBN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsBN-spB2.snap new file mode 100644 index 00000000..679ef1ff --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsBN-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsBN.snap new file mode 100644 index 00000000..a3664cbb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsBN.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsBU-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsBU-spA1.snap new file mode 100644 index 00000000..3ef7ed3d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsBU-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsBU-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsBU-spA2.snap new file mode 100644 index 00000000..5fc3f70a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsBU-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsBU-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsBU-spB1.snap new file mode 100644 index 00000000..e14d0e0a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsBU-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsBU-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsBU-spB2.snap new file mode 100644 index 00000000..e29d798e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsBU-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsBU.snap new file mode 100644 index 00000000..d774f920 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsBU.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-fsT.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT.snap new file mode 100644 index 00000000..a7cf3d10 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-spA1.snap new file mode 100644 index 00000000..db6a766c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-spA2.snap new file mode 100644 index 00000000..85d832d2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-spB1.snap new file mode 100644 index 00000000..e37c485c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-spB2.snap new file mode 100644 index 00000000..ab8095be --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsA1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsA1-spA1.snap new file mode 100644 index 00000000..25fcd8f4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsA1-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsA1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsA1-spA2.snap new file mode 100644 index 00000000..4b326493 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsA1-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsA1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsA1-spB1.snap new file mode 100644 index 00000000..4183badf --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsA1-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsA1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsA1-spB2.snap new file mode 100644 index 00000000..6065eaae --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsA1-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsA1.snap new file mode 100644 index 00000000..3b909ea7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsA2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsA2-spA1.snap new file mode 100644 index 00000000..536d2a5f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsA2-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsA2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsA2-spA2.snap new file mode 100644 index 00000000..5252dc92 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsA2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsA2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsA2-spB1.snap new file mode 100644 index 00000000..de9ed33b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsA2-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsA2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsA2-spB2.snap new file mode 100644 index 00000000..3fff7ed6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsA2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsA2.snap new file mode 100644 index 00000000..bafa7a29 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsAA-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsAA-spA1.snap new file mode 100644 index 00000000..be9c2444 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsAA-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsAA-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsAA-spA2.snap new file mode 100644 index 00000000..ea996c09 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsAA-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsAA-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsAA-spB1.snap new file mode 100644 index 00000000..c8800cd3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsAA-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsAA-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsAA-spB2.snap new file mode 100644 index 00000000..d07f67a2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsAA-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsAA.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsAA.snap new file mode 100644 index 00000000..8990c7ee --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsAA.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsAN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsAN-spA1.snap new file mode 100644 index 00000000..b08a0e69 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsAN-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsAN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsAN-spA2.snap new file mode 100644 index 00000000..a7299066 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsAN-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsAN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsAN-spB1.snap new file mode 100644 index 00000000..55808332 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsAN-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsAN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsAN-spB2.snap new file mode 100644 index 00000000..61dd4a23 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsAN-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsAN.snap new file mode 100644 index 00000000..f9b720c1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsAN.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsB1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsB1-spA1.snap new file mode 100644 index 00000000..95eb25fc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsB1-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsB1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsB1-spA2.snap new file mode 100644 index 00000000..9361a89b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsB1-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsB1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsB1-spB1.snap new file mode 100644 index 00000000..4dab2bdb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsB1-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsB1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsB1-spB2.snap new file mode 100644 index 00000000..6e29e658 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsB1-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsB1.snap new file mode 100644 index 00000000..cfca48f1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsB2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsB2-spA1.snap new file mode 100644 index 00000000..310ca27c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsB2-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsB2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsB2-spA2.snap new file mode 100644 index 00000000..ff893c0d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsB2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsB2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsB2-spB1.snap new file mode 100644 index 00000000..71c440b6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsB2-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsB2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsB2-spB2.snap new file mode 100644 index 00000000..a26569cb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsB2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsB2.snap new file mode 100644 index 00000000..8dfe63f4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsBN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsBN-spA1.snap new file mode 100644 index 00000000..62872b64 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsBN-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsBN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsBN-spA2.snap new file mode 100644 index 00000000..3779cf30 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsBN-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsBN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsBN-spB1.snap new file mode 100644 index 00000000..9427a6bf --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsBN-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsBN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsBN-spB2.snap new file mode 100644 index 00000000..df58631c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsBN-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsBN.snap new file mode 100644 index 00000000..c58d14ee --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsBN.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsBU-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsBU-spA1.snap new file mode 100644 index 00000000..dac034bd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsBU-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsBU-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsBU-spA2.snap new file mode 100644 index 00000000..16e3d0cc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsBU-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsBU-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsBU-spB1.snap new file mode 100644 index 00000000..e8e6b0a5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsBU-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsBU-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsBU-spB2.snap new file mode 100644 index 00000000..397e118d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsBU-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsBU.snap new file mode 100644 index 00000000..d2d301b6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsBU.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsF.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF.snap new file mode 100644 index 00000000..e8847ecb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-spA1.snap new file mode 100644 index 00000000..2c56d530 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-spA2.snap new file mode 100644 index 00000000..5a0ac07f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-spB1.snap new file mode 100644 index 00000000..54be8e94 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-spB2.snap new file mode 100644 index 00000000..adeaac8a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsA1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsA1-spA1.snap new file mode 100644 index 00000000..0bb5c42f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsA1-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsA1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsA1-spA2.snap new file mode 100644 index 00000000..1e64b450 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsA1-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsA1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsA1-spB1.snap new file mode 100644 index 00000000..f0806d93 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsA1-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsA1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsA1-spB2.snap new file mode 100644 index 00000000..644f951e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsA1-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsA1.snap new file mode 100644 index 00000000..c3bd5cc9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsA2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsA2-spA1.snap new file mode 100644 index 00000000..81affce0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsA2-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsA2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsA2-spA2.snap new file mode 100644 index 00000000..cd13147e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsA2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsA2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsA2-spB1.snap new file mode 100644 index 00000000..0685b421 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsA2-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsA2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsA2-spB2.snap new file mode 100644 index 00000000..24bcf34e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsA2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsA2.snap new file mode 100644 index 00000000..59473ba5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsAA-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsAA-spA1.snap new file mode 100644 index 00000000..809d2d74 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsAA-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsAA-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsAA-spA2.snap new file mode 100644 index 00000000..a2670a83 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsAA-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsAA-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsAA-spB1.snap new file mode 100644 index 00000000..4df2e8a3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsAA-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsAA-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsAA-spB2.snap new file mode 100644 index 00000000..15d323a1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsAA-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsAA.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsAA.snap new file mode 100644 index 00000000..535d0d6c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsAA.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsAN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsAN-spA1.snap new file mode 100644 index 00000000..41fe974f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsAN-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsAN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsAN-spA2.snap new file mode 100644 index 00000000..83ff163a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsAN-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsAN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsAN-spB1.snap new file mode 100644 index 00000000..f1bb55dc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsAN-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsAN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsAN-spB2.snap new file mode 100644 index 00000000..0b3751e9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsAN-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsAN.snap new file mode 100644 index 00000000..a4e8c614 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsAN.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsB1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsB1-spA1.snap new file mode 100644 index 00000000..78e809b5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsB1-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsB1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsB1-spA2.snap new file mode 100644 index 00000000..39fb9831 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsB1-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsB1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsB1-spB1.snap new file mode 100644 index 00000000..36306b95 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsB1-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsB1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsB1-spB2.snap new file mode 100644 index 00000000..f725e45b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsB1-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsB1.snap new file mode 100644 index 00000000..642db6c4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsB2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsB2-spA1.snap new file mode 100644 index 00000000..5a42118f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsB2-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsB2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsB2-spA2.snap new file mode 100644 index 00000000..268e0c0a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsB2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsB2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsB2-spB1.snap new file mode 100644 index 00000000..36f7f243 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsB2-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsB2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsB2-spB2.snap new file mode 100644 index 00000000..ade0da83 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsB2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsB2.snap new file mode 100644 index 00000000..1360ee4a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsBN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsBN-spA1.snap new file mode 100644 index 00000000..84edc5e2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsBN-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsBN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsBN-spA2.snap new file mode 100644 index 00000000..3a24d30a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsBN-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsBN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsBN-spB1.snap new file mode 100644 index 00000000..bc9c69bf --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsBN-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsBN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsBN-spB2.snap new file mode 100644 index 00000000..3f27afa1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsBN-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsBN.snap new file mode 100644 index 00000000..a1616b9c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsBN.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsBU-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsBU-spA1.snap new file mode 100644 index 00000000..2596631b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsBU-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsBU-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsBU-spA2.snap new file mode 100644 index 00000000..258414cd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsBU-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsBU-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsBU-spB1.snap new file mode 100644 index 00000000..06d744e2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsBU-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsBU-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsBU-spB2.snap new file mode 100644 index 00000000..b42c3677 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsBU-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsBU.snap new file mode 100644 index 00000000..19a39916 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsBU.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-fsT.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT.snap new file mode 100644 index 00000000..e65c3488 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-spA1.snap new file mode 100644 index 00000000..282ee7fc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-spA2.snap new file mode 100644 index 00000000..bad48dc8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-spB1.snap new file mode 100644 index 00000000..2c528ace --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-spB2.snap new file mode 100644 index 00000000..9679ba2a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsA1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsA1-spA1.snap new file mode 100644 index 00000000..362ec1c2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsA1-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsA1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsA1-spA2.snap new file mode 100644 index 00000000..03731147 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsA1-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsA1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsA1-spB1.snap new file mode 100644 index 00000000..6e70c176 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsA1-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsA1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsA1-spB2.snap new file mode 100644 index 00000000..c09a08e0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsA1-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsA1.snap new file mode 100644 index 00000000..93729e8a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsA2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsA2-spA1.snap new file mode 100644 index 00000000..72bccc4a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsA2-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsA2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsA2-spA2.snap new file mode 100644 index 00000000..5e2db042 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsA2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsA2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsA2-spB1.snap new file mode 100644 index 00000000..7e42c9e6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsA2-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsA2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsA2-spB2.snap new file mode 100644 index 00000000..3b2dd2b7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsA2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsA2.snap new file mode 100644 index 00000000..7f7d07ce --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsAA-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsAA-spA1.snap new file mode 100644 index 00000000..51e75d02 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsAA-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsAA-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsAA-spA2.snap new file mode 100644 index 00000000..ebb7011b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsAA-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsAA-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsAA-spB1.snap new file mode 100644 index 00000000..f8707e14 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsAA-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsAA-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsAA-spB2.snap new file mode 100644 index 00000000..cc19dde2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsAA-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsAA.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsAA.snap new file mode 100644 index 00000000..87305554 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsAA.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsAN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsAN-spA1.snap new file mode 100644 index 00000000..7539f331 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsAN-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsAN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsAN-spA2.snap new file mode 100644 index 00000000..3fffb063 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsAN-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsAN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsAN-spB1.snap new file mode 100644 index 00000000..e20c9af2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsAN-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsAN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsAN-spB2.snap new file mode 100644 index 00000000..d8ebbe59 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsAN-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsAN.snap new file mode 100644 index 00000000..27809e39 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsAN.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsB1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsB1-spA1.snap new file mode 100644 index 00000000..3c5efa12 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsB1-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsB1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsB1-spA2.snap new file mode 100644 index 00000000..a59a919c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsB1-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsB1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsB1-spB1.snap new file mode 100644 index 00000000..08f06d11 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsB1-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsB1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsB1-spB2.snap new file mode 100644 index 00000000..64b815be --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsB1-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsB1.snap new file mode 100644 index 00000000..53ef5050 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsB2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsB2-spA1.snap new file mode 100644 index 00000000..95f83825 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsB2-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsB2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsB2-spA2.snap new file mode 100644 index 00000000..99f6fe88 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsB2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsB2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsB2-spB1.snap new file mode 100644 index 00000000..211c411c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsB2-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsB2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsB2-spB2.snap new file mode 100644 index 00000000..c79fb7aa --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsB2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsB2.snap new file mode 100644 index 00000000..edee84f4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsBN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsBN-spA1.snap new file mode 100644 index 00000000..1f4377c8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsBN-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsBN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsBN-spA2.snap new file mode 100644 index 00000000..cb3ccbdd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsBN-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsBN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsBN-spB1.snap new file mode 100644 index 00000000..eb0229cc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsBN-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsBN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsBN-spB2.snap new file mode 100644 index 00000000..8fdee684 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsBN-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsBN.snap new file mode 100644 index 00000000..d0b8f406 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsBN.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsBU-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsBU-spA1.snap new file mode 100644 index 00000000..c98c41e8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsBU-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsBU-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsBU-spA2.snap new file mode 100644 index 00000000..c5b6d895 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsBU-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsBU-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsBU-spB1.snap new file mode 100644 index 00000000..edde0442 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsBU-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsBU-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsBU-spB2.snap new file mode 100644 index 00000000..d04b3158 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsBU-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsBU.snap new file mode 100644 index 00000000..8efa986e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsBU.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1.snap new file mode 100644 index 00000000..30da558e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-spA1.snap new file mode 100644 index 00000000..dd480925 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-spA2.snap new file mode 100644 index 00000000..5c4e8a19 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-spB1.snap new file mode 100644 index 00000000..a5de6aee --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-spB2.snap new file mode 100644 index 00000000..e1bacc08 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsA1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsA1-spA1.snap new file mode 100644 index 00000000..f41c90d3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsA1-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsA1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsA1-spA2.snap new file mode 100644 index 00000000..6dd0674e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsA1-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsA1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsA1-spB1.snap new file mode 100644 index 00000000..10778b83 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsA1-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsA1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsA1-spB2.snap new file mode 100644 index 00000000..240c3541 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsA1-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsA1.snap new file mode 100644 index 00000000..3dea733c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsA2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsA2-spA1.snap new file mode 100644 index 00000000..0aea84c9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsA2-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsA2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsA2-spA2.snap new file mode 100644 index 00000000..b22bd6e8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsA2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsA2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsA2-spB1.snap new file mode 100644 index 00000000..11b22650 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsA2-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsA2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsA2-spB2.snap new file mode 100644 index 00000000..a21c3d97 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsA2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsA2.snap new file mode 100644 index 00000000..2b0fc0eb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsAA-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsAA-spA1.snap new file mode 100644 index 00000000..d092740d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsAA-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsAA-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsAA-spA2.snap new file mode 100644 index 00000000..32596359 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsAA-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsAA-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsAA-spB1.snap new file mode 100644 index 00000000..67eaea17 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsAA-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsAA-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsAA-spB2.snap new file mode 100644 index 00000000..26a10056 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsAA-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsAA.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsAA.snap new file mode 100644 index 00000000..5646b759 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsAA.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsAN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsAN-spA1.snap new file mode 100644 index 00000000..0d886ddb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsAN-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsAN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsAN-spA2.snap new file mode 100644 index 00000000..1473ebc4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsAN-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsAN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsAN-spB1.snap new file mode 100644 index 00000000..3853871e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsAN-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsAN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsAN-spB2.snap new file mode 100644 index 00000000..fedc1053 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsAN-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsAN.snap new file mode 100644 index 00000000..03e5c0eb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsAN.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsB1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsB1-spA1.snap new file mode 100644 index 00000000..339aa432 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsB1-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsB1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsB1-spA2.snap new file mode 100644 index 00000000..7d288c67 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsB1-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsB1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsB1-spB1.snap new file mode 100644 index 00000000..088cf302 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsB1-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsB1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsB1-spB2.snap new file mode 100644 index 00000000..6add9ad8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsB1-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsB1.snap new file mode 100644 index 00000000..06aa60ea --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsB2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsB2-spA1.snap new file mode 100644 index 00000000..edf4c724 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsB2-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsB2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsB2-spA2.snap new file mode 100644 index 00000000..314e179b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsB2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsB2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsB2-spB1.snap new file mode 100644 index 00000000..f7184d6e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsB2-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsB2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsB2-spB2.snap new file mode 100644 index 00000000..735f5a72 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsB2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsB2.snap new file mode 100644 index 00000000..fb36d6ca --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsBN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsBN-spA1.snap new file mode 100644 index 00000000..885d0027 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsBN-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsBN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsBN-spA2.snap new file mode 100644 index 00000000..e4bf991a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsBN-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsBN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsBN-spB1.snap new file mode 100644 index 00000000..3c383b64 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsBN-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsBN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsBN-spB2.snap new file mode 100644 index 00000000..65d54603 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsBN-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsBN.snap new file mode 100644 index 00000000..7249a1a5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsBN.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsBU-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsBU-spA1.snap new file mode 100644 index 00000000..f7eecceb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsBU-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsBU-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsBU-spA2.snap new file mode 100644 index 00000000..0064a264 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsBU-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsBU-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsBU-spB1.snap new file mode 100644 index 00000000..4eb9a863 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsBU-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsBU-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsBU-spB2.snap new file mode 100644 index 00000000..db8037e0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsBU-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsBU.snap new file mode 100644 index 00000000..e6c75fe5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsBU.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsF.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF.snap new file mode 100644 index 00000000..a56a2d08 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-spA1.snap new file mode 100644 index 00000000..1ce3c046 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-spA2.snap new file mode 100644 index 00000000..f8b2289f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-spB1.snap new file mode 100644 index 00000000..581e1378 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-spB2.snap new file mode 100644 index 00000000..f32ca60f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsA1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsA1-spA1.snap new file mode 100644 index 00000000..366f03ff --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsA1-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsA1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsA1-spA2.snap new file mode 100644 index 00000000..0ba5eeb6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsA1-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsA1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsA1-spB1.snap new file mode 100644 index 00000000..6dc3cf06 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsA1-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsA1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsA1-spB2.snap new file mode 100644 index 00000000..d2274d78 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsA1-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsA1.snap new file mode 100644 index 00000000..c91ddb96 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsA2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsA2-spA1.snap new file mode 100644 index 00000000..f7fbbfd3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsA2-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsA2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsA2-spA2.snap new file mode 100644 index 00000000..c1692036 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsA2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsA2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsA2-spB1.snap new file mode 100644 index 00000000..6283a033 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsA2-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsA2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsA2-spB2.snap new file mode 100644 index 00000000..842ebf15 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsA2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsA2.snap new file mode 100644 index 00000000..3260fe38 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsAA-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsAA-spA1.snap new file mode 100644 index 00000000..8c9c1db5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsAA-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsAA-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsAA-spA2.snap new file mode 100644 index 00000000..5a725934 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsAA-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsAA-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsAA-spB1.snap new file mode 100644 index 00000000..c1ac108d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsAA-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsAA-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsAA-spB2.snap new file mode 100644 index 00000000..5fd90f70 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsAA-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsAA.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsAA.snap new file mode 100644 index 00000000..59f4a054 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsAA.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsAN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsAN-spA1.snap new file mode 100644 index 00000000..0f9e325d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsAN-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsAN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsAN-spA2.snap new file mode 100644 index 00000000..457d1666 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsAN-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsAN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsAN-spB1.snap new file mode 100644 index 00000000..ff09c169 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsAN-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsAN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsAN-spB2.snap new file mode 100644 index 00000000..ed3dec5d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsAN-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsAN.snap new file mode 100644 index 00000000..4690d991 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsAN.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsB1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsB1-spA1.snap new file mode 100644 index 00000000..cb7f55d1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsB1-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsB1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsB1-spA2.snap new file mode 100644 index 00000000..097f9ead --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsB1-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsB1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsB1-spB1.snap new file mode 100644 index 00000000..df835c9e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsB1-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsB1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsB1-spB2.snap new file mode 100644 index 00000000..7e03be01 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsB1-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsB1.snap new file mode 100644 index 00000000..36ed87a3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsB2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsB2-spA1.snap new file mode 100644 index 00000000..cc451a9d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsB2-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsB2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsB2-spA2.snap new file mode 100644 index 00000000..c890ea60 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsB2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsB2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsB2-spB1.snap new file mode 100644 index 00000000..2ee143c2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsB2-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsB2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsB2-spB2.snap new file mode 100644 index 00000000..709e46b3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsB2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsB2.snap new file mode 100644 index 00000000..ac2b55c6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsBN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsBN-spA1.snap new file mode 100644 index 00000000..4855654a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsBN-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsBN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsBN-spA2.snap new file mode 100644 index 00000000..7ae321e7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsBN-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsBN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsBN-spB1.snap new file mode 100644 index 00000000..16ec4bc9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsBN-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsBN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsBN-spB2.snap new file mode 100644 index 00000000..1910ee2b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsBN-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsBN.snap new file mode 100644 index 00000000..b89eabf8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsBN.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsBU-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsBU-spA1.snap new file mode 100644 index 00000000..d89ce3b3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsBU-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsBU-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsBU-spA2.snap new file mode 100644 index 00000000..9a9ee0d9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsBU-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsBU-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsBU-spB1.snap new file mode 100644 index 00000000..7cc67f7d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsBU-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsBU-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsBU-spB2.snap new file mode 100644 index 00000000..c3310270 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsBU-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsBU.snap new file mode 100644 index 00000000..de8526b7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsBU.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-fsT.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT.snap new file mode 100644 index 00000000..99744341 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-spA1.snap new file mode 100644 index 00000000..ad71b2cb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-spA2.snap new file mode 100644 index 00000000..875a4bbb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-spB1.snap new file mode 100644 index 00000000..1a084518 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-spB2.snap new file mode 100644 index 00000000..7e27ade8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsA1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsA1-spA1.snap new file mode 100644 index 00000000..b394d316 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsA1-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsA1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsA1-spA2.snap new file mode 100644 index 00000000..12232cf0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsA1-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsA1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsA1-spB1.snap new file mode 100644 index 00000000..0282bc15 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsA1-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsA1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsA1-spB2.snap new file mode 100644 index 00000000..47c13e66 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsA1-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsA1.snap new file mode 100644 index 00000000..5f5acb3c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsA2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsA2-spA1.snap new file mode 100644 index 00000000..f76e9f5b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsA2-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsA2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsA2-spA2.snap new file mode 100644 index 00000000..04542041 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsA2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsA2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsA2-spB1.snap new file mode 100644 index 00000000..e4ae742f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsA2-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsA2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsA2-spB2.snap new file mode 100644 index 00000000..9bb8aa99 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsA2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsA2.snap new file mode 100644 index 00000000..46b3e867 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsAA-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsAA-spA1.snap new file mode 100644 index 00000000..34abbeed --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsAA-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsAA-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsAA-spA2.snap new file mode 100644 index 00000000..928c29e9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsAA-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsAA-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsAA-spB1.snap new file mode 100644 index 00000000..b5121abc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsAA-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsAA-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsAA-spB2.snap new file mode 100644 index 00000000..588b4292 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsAA-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsAA.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsAA.snap new file mode 100644 index 00000000..d464c5ed --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsAA.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsAN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsAN-spA1.snap new file mode 100644 index 00000000..d8e79ff0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsAN-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsAN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsAN-spA2.snap new file mode 100644 index 00000000..738d9fa9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsAN-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsAN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsAN-spB1.snap new file mode 100644 index 00000000..81138819 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsAN-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsAN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsAN-spB2.snap new file mode 100644 index 00000000..55f17738 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsAN-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsAN.snap new file mode 100644 index 00000000..f26239dd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsAN.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsB1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsB1-spA1.snap new file mode 100644 index 00000000..6258769c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsB1-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsB1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsB1-spA2.snap new file mode 100644 index 00000000..36d6840c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsB1-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsB1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsB1-spB1.snap new file mode 100644 index 00000000..566c578f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsB1-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsB1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsB1-spB2.snap new file mode 100644 index 00000000..0ab1308c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsB1-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsB1.snap new file mode 100644 index 00000000..9f06efa6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsB2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsB2-spA1.snap new file mode 100644 index 00000000..15adfdb3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsB2-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsB2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsB2-spA2.snap new file mode 100644 index 00000000..4df356e2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsB2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsB2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsB2-spB1.snap new file mode 100644 index 00000000..6efa3e4d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsB2-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsB2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsB2-spB2.snap new file mode 100644 index 00000000..2afa3cd7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsB2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsB2.snap new file mode 100644 index 00000000..9395d4a2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsBN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsBN-spA1.snap new file mode 100644 index 00000000..13a7aeba --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsBN-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsBN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsBN-spA2.snap new file mode 100644 index 00000000..a374e8b8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsBN-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsBN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsBN-spB1.snap new file mode 100644 index 00000000..b89a9bff --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsBN-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsBN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsBN-spB2.snap new file mode 100644 index 00000000..6abc908f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsBN-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsBN.snap new file mode 100644 index 00000000..c333c9bf --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsBN.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsBU-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsBU-spA1.snap new file mode 100644 index 00000000..4ce56c23 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsBU-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsBU-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsBU-spA2.snap new file mode 100644 index 00000000..988d31f8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsBU-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsBU-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsBU-spB1.snap new file mode 100644 index 00000000..f3efbd4b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsBU-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsBU-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsBU-spB2.snap new file mode 100644 index 00000000..406fc47b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsBU-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsBU.snap new file mode 100644 index 00000000..966c6c52 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsBU.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-out2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2.snap new file mode 100644 index 00000000..fbaa0bef --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-spA1.snap new file mode 100644 index 00000000..1a94e384 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-spA2.snap new file mode 100644 index 00000000..3d17ad5e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-spB1.snap new file mode 100644 index 00000000..eb27bfd0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-spB2.snap new file mode 100644 index 00000000..2317e293 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsA1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsA1-spA1.snap new file mode 100644 index 00000000..e08c68d0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsA1-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsA1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsA1-spA2.snap new file mode 100644 index 00000000..e07d933f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsA1-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsA1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsA1-spB1.snap new file mode 100644 index 00000000..e6af92b5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsA1-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsA1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsA1-spB2.snap new file mode 100644 index 00000000..1cf980fe --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsA1-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsA1.snap new file mode 100644 index 00000000..b947d1a8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsA2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsA2-spA1.snap new file mode 100644 index 00000000..b3b0b12d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsA2-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsA2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsA2-spA2.snap new file mode 100644 index 00000000..99351679 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsA2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsA2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsA2-spB1.snap new file mode 100644 index 00000000..354f50f1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsA2-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsA2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsA2-spB2.snap new file mode 100644 index 00000000..81dcb520 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsA2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsA2.snap new file mode 100644 index 00000000..dd743f1e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsAA-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsAA-spA1.snap new file mode 100644 index 00000000..4bc838b1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsAA-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsAA-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsAA-spA2.snap new file mode 100644 index 00000000..fc4dfffc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsAA-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsAA-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsAA-spB1.snap new file mode 100644 index 00000000..76b8ecaa --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsAA-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsAA-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsAA-spB2.snap new file mode 100644 index 00000000..b47b448a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsAA-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsAA.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsAA.snap new file mode 100644 index 00000000..762039b1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsAA.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsAN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsAN-spA1.snap new file mode 100644 index 00000000..c588dee8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsAN-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsAN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsAN-spA2.snap new file mode 100644 index 00000000..53964ece --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsAN-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsAN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsAN-spB1.snap new file mode 100644 index 00000000..152bb0a2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsAN-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsAN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsAN-spB2.snap new file mode 100644 index 00000000..1488d4d3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsAN-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsAN.snap new file mode 100644 index 00000000..d94167d7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsAN.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsB1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsB1-spA1.snap new file mode 100644 index 00000000..13438408 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsB1-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsB1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsB1-spA2.snap new file mode 100644 index 00000000..55aace4b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsB1-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsB1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsB1-spB1.snap new file mode 100644 index 00000000..0f04b83b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsB1-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsB1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsB1-spB2.snap new file mode 100644 index 00000000..5c6e4604 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsB1-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsB1.snap new file mode 100644 index 00000000..16847a6d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsB2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsB2-spA1.snap new file mode 100644 index 00000000..7f2e86f6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsB2-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsB2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsB2-spA2.snap new file mode 100644 index 00000000..b0fe06f9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsB2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsB2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsB2-spB1.snap new file mode 100644 index 00000000..55c3a0fd --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsB2-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsB2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsB2-spB2.snap new file mode 100644 index 00000000..550a7e1b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsB2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsB2.snap new file mode 100644 index 00000000..57fffeec --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsBN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsBN-spA1.snap new file mode 100644 index 00000000..2eb1ce8a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsBN-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsBN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsBN-spA2.snap new file mode 100644 index 00000000..d50271b8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsBN-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsBN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsBN-spB1.snap new file mode 100644 index 00000000..b7d73e06 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsBN-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsBN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsBN-spB2.snap new file mode 100644 index 00000000..11af7e31 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsBN-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsBN.snap new file mode 100644 index 00000000..dfd498fa --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsBN.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsBU-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsBU-spA1.snap new file mode 100644 index 00000000..95f83855 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsBU-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsBU-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsBU-spA2.snap new file mode 100644 index 00000000..8fadfcd0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsBU-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsBU-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsBU-spB1.snap new file mode 100644 index 00000000..23b31e64 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsBU-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsBU-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsBU-spB2.snap new file mode 100644 index 00000000..2a8efc8d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsBU-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsBU.snap new file mode 100644 index 00000000..4592b7d8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsBU.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1.snap new file mode 100644 index 00000000..77c22838 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +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_output_and_workspace@ws2-fsF-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-spA1.snap new file mode 100644 index 00000000..b074ba51 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-spA2.snap new file mode 100644 index 00000000..3e63d87a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-spB1.snap new file mode 100644 index 00000000..b03f666b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-spB2.snap new file mode 100644 index 00000000..164aa30a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsA1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsA1-spA1.snap new file mode 100644 index 00000000..32d1bd35 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsA1-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, 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_output_and_workspace@ws2-fsF-wfsA1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsA1-spA2.snap new file mode 100644 index 00000000..e349b8a5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsA1-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsA1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsA1-spB1.snap new file mode 100644 index 00000000..3173d71a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsA1-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, 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_output_and_workspace@ws2-fsF-wfsA1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsA1-spB2.snap new file mode 100644 index 00000000..e2a33a2c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsA1-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsA1.snap new file mode 100644 index 00000000..5342899e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsA2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsA2-spA1.snap new file mode 100644 index 00000000..e484cbc6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsA2-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsA2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsA2-spA2.snap new file mode 100644 index 00000000..331de465 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsA2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsA2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsA2-spB1.snap new file mode 100644 index 00000000..a9f54dcf --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsA2-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsA2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsA2-spB2.snap new file mode 100644 index 00000000..7a755b92 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsA2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsA2.snap new file mode 100644 index 00000000..e74172d7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAA-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAA-spA1.snap new file mode 100644 index 00000000..8e72f3aa --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAA-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAA-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAA-spA2.snap new file mode 100644 index 00000000..bed5d765 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAA-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAA-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAA-spB1.snap new file mode 100644 index 00000000..d5c12e06 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAA-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAA-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAA-spB2.snap new file mode 100644 index 00000000..502e892a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAA-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAA.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAA.snap new file mode 100644 index 00000000..d14ebbb6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAA.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAN-spA1.snap new file mode 100644 index 00000000..8e30523f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAN-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAN-spA2.snap new file mode 100644 index 00000000..7901fe90 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAN-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAN-spB1.snap new file mode 100644 index 00000000..642d4bed --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAN-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAN-spB2.snap new file mode 100644 index 00000000..6d3854db --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAN-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAN.snap new file mode 100644 index 00000000..831cebc9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAN.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB1-spA1.snap new file mode 100644 index 00000000..ef9ff957 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB1-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB1-spA2.snap new file mode 100644 index 00000000..ad435356 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB1-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB1-spB1.snap new file mode 100644 index 00000000..53002412 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB1-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB1-spB2.snap new file mode 100644 index 00000000..12636221 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB1-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB1.snap new file mode 100644 index 00000000..70fa11b9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB2-spA1.snap new file mode 100644 index 00000000..ac47bf66 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB2-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB2-spA2.snap new file mode 100644 index 00000000..7948874d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB2-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB2-spB1.snap new file mode 100644 index 00000000..9da8f8e8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB2-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB2-spB2.snap new file mode 100644 index 00000000..c1d9c7a4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB2-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB2.snap new file mode 100644 index 00000000..aaaed904 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBN-spA1.snap new file mode 100644 index 00000000..e7ab4a77 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBN-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBN-spA2.snap new file mode 100644 index 00000000..5fc38d43 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBN-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBN-spB1.snap new file mode 100644 index 00000000..8c5d2d64 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBN-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBN-spB2.snap new file mode 100644 index 00000000..fad2c8cc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBN-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBN.snap new file mode 100644 index 00000000..c50f4a55 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBN.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBU-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBU-spA1.snap new file mode 100644 index 00000000..da785150 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBU-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBU-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBU-spA2.snap new file mode 100644 index 00000000..78d6ac74 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBU-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBU-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBU-spB1.snap new file mode 100644 index 00000000..43cfa8ca --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBU-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBU-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBU-spB2.snap new file mode 100644 index 00000000..4c1c9786 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBU-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBU.snap new file mode 100644 index 00000000..7cd6ddc2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBU.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF.snap new file mode 100644 index 00000000..5571c69e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-spA1.snap new file mode 100644 index 00000000..3dfa66a4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-spA2.snap new file mode 100644 index 00000000..b199bb27 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-spB1.snap new file mode 100644 index 00000000..2da76cf6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-spB2.snap new file mode 100644 index 00000000..9fdecd06 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsA1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsA1-spA1.snap new file mode 100644 index 00000000..5f3c6630 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsA1-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, 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_output_and_workspace@ws2-fsT-wfsA1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsA1-spA2.snap new file mode 100644 index 00000000..1731d741 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsA1-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsA1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsA1-spB1.snap new file mode 100644 index 00000000..b8cf2223 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsA1-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, 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_output_and_workspace@ws2-fsT-wfsA1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsA1-spB2.snap new file mode 100644 index 00000000..0c64d9fb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsA1-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsA1.snap new file mode 100644 index 00000000..7b0a188c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsA2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsA2-spA1.snap new file mode 100644 index 00000000..71b93d09 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsA2-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsA2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsA2-spA2.snap new file mode 100644 index 00000000..9814d2a0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsA2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsA2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsA2-spB1.snap new file mode 100644 index 00000000..dbfc75c9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsA2-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsA2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsA2-spB2.snap new file mode 100644 index 00000000..93baed59 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsA2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsA2.snap new file mode 100644 index 00000000..02a518f3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsAA-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsAA-spA1.snap new file mode 100644 index 00000000..dbf0b19c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsAA-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsAA-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsAA-spA2.snap new file mode 100644 index 00000000..d313f91b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsAA-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsAA-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsAA-spB1.snap new file mode 100644 index 00000000..57f64faa --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsAA-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsAA-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsAA-spB2.snap new file mode 100644 index 00000000..2c026526 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsAA-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsAA.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsAA.snap new file mode 100644 index 00000000..439a85b4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsAA.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsAN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsAN-spA1.snap new file mode 100644 index 00000000..989f1f57 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsAN-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsAN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsAN-spA2.snap new file mode 100644 index 00000000..26714ee1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsAN-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsAN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsAN-spB1.snap new file mode 100644 index 00000000..39e69694 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsAN-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsAN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsAN-spB2.snap new file mode 100644 index 00000000..0960cbe0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsAN-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsAN.snap new file mode 100644 index 00000000..68699781 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsAN.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsB1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsB1-spA1.snap new file mode 100644 index 00000000..31498ceb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsB1-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsB1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsB1-spA2.snap new file mode 100644 index 00000000..7ac7cc85 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsB1-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsB1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsB1-spB1.snap new file mode 100644 index 00000000..3e978209 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsB1-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsB1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsB1-spB2.snap new file mode 100644 index 00000000..8849baa7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsB1-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsB1.snap new file mode 100644 index 00000000..08d35aaf --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsB2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsB2-spA1.snap new file mode 100644 index 00000000..1afbfd64 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsB2-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsB2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsB2-spA2.snap new file mode 100644 index 00000000..1ab39343 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsB2-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsB2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsB2-spB1.snap new file mode 100644 index 00000000..bccc2757 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsB2-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsB2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsB2-spB2.snap new file mode 100644 index 00000000..e97c1426 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsB2-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsB2.snap new file mode 100644 index 00000000..7c728eae --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsBN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsBN-spA1.snap new file mode 100644 index 00000000..36c41550 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsBN-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsBN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsBN-spA2.snap new file mode 100644 index 00000000..d5147c15 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsBN-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsBN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsBN-spB1.snap new file mode 100644 index 00000000..48a1d549 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsBN-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsBN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsBN-spB2.snap new file mode 100644 index 00000000..32497c5e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsBN-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsBN.snap new file mode 100644 index 00000000..caba6476 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsBN.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsBU-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsBU-spA1.snap new file mode 100644 index 00000000..9832e842 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsBU-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsBU-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsBU-spA2.snap new file mode 100644 index 00000000..e175c160 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsBU-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsBU-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsBU-spB1.snap new file mode 100644 index 00000000..11ce4999 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsBU-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsBU-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsBU-spB2.snap new file mode 100644 index 00000000..9f3d8367 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsBU-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsBU.snap new file mode 100644 index 00000000..3a9d25d2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT-wfsBU.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT.snap new file mode 100644 index 00000000..b6efcce5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsT.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-spA1.snap new file mode 100644 index 00000000..2f3d34e1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-spA2.snap new file mode 100644 index 00000000..a35c3728 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-spB1.snap new file mode 100644 index 00000000..d06f151a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-spB2.snap new file mode 100644 index 00000000..6be2ed32 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsA1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsA1-spA1.snap new file mode 100644 index 00000000..56e69dbe --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsA1-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, 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_output_and_workspace@ws2-out1-fsF-wfsA1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsA1-spA2.snap new file mode 100644 index 00000000..7e95a0c1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsA1-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsA1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsA1-spB1.snap new file mode 100644 index 00000000..bc6c8d95 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsA1-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, 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_output_and_workspace@ws2-out1-fsF-wfsA1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsA1-spB2.snap new file mode 100644 index 00000000..d7318b35 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsA1-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsA1.snap new file mode 100644 index 00000000..5bd02084 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsA2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsA2-spA1.snap new file mode 100644 index 00000000..9b72b3e9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsA2-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsA2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsA2-spA2.snap new file mode 100644 index 00000000..09645b09 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsA2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsA2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsA2-spB1.snap new file mode 100644 index 00000000..c2fbf745 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsA2-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsA2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsA2-spB2.snap new file mode 100644 index 00000000..a147f504 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsA2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsA2.snap new file mode 100644 index 00000000..f77ebb35 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAA-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAA-spA1.snap new file mode 100644 index 00000000..bec58b3c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAA-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAA-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAA-spA2.snap new file mode 100644 index 00000000..fc9225e8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAA-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAA-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAA-spB1.snap new file mode 100644 index 00000000..4942acae --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAA-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAA-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAA-spB2.snap new file mode 100644 index 00000000..e7adcc7b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAA-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAA.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAA.snap new file mode 100644 index 00000000..4793ec4d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAA.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAN-spA1.snap new file mode 100644 index 00000000..a383c113 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAN-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAN-spA2.snap new file mode 100644 index 00000000..04242730 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAN-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAN-spB1.snap new file mode 100644 index 00000000..11149275 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAN-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAN-spB2.snap new file mode 100644 index 00000000..1b271221 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAN-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAN.snap new file mode 100644 index 00000000..a4e52b08 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAN.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB1-spA1.snap new file mode 100644 index 00000000..6bce7583 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB1-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB1-spA2.snap new file mode 100644 index 00000000..802676d4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB1-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB1-spB1.snap new file mode 100644 index 00000000..f6d235d0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB1-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB1-spB2.snap new file mode 100644 index 00000000..c261bbcf --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB1-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB1.snap new file mode 100644 index 00000000..ab396d4a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB2-spA1.snap new file mode 100644 index 00000000..49dd58b4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB2-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB2-spA2.snap new file mode 100644 index 00000000..6a612a91 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB2-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB2-spB1.snap new file mode 100644 index 00000000..dda2807a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB2-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB2-spB2.snap new file mode 100644 index 00000000..19f60632 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB2-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB2.snap new file mode 100644 index 00000000..bf4cac4d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBN-spA1.snap new file mode 100644 index 00000000..dd9cb631 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBN-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBN-spA2.snap new file mode 100644 index 00000000..f13e0cc9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBN-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBN-spB1.snap new file mode 100644 index 00000000..319307da --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBN-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBN-spB2.snap new file mode 100644 index 00000000..8be76ed0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBN-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBN.snap new file mode 100644 index 00000000..0911b5e1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBN.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBU-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBU-spA1.snap new file mode 100644 index 00000000..f35d974a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBU-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBU-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBU-spA2.snap new file mode 100644 index 00000000..7885533d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBU-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBU-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBU-spB1.snap new file mode 100644 index 00000000..d25eac8c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBU-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBU-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBU-spB2.snap new file mode 100644 index 00000000..a8930217 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBU-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBU.snap new file mode 100644 index 00000000..e61d06ad --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBU.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF.snap new file mode 100644 index 00000000..fdb2598a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-spA1.snap new file mode 100644 index 00000000..cfa5cd0c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-spA2.snap new file mode 100644 index 00000000..0cfb3cb4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-spB1.snap new file mode 100644 index 00000000..bf33fde4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-spB2.snap new file mode 100644 index 00000000..9d809779 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsA1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsA1-spA1.snap new file mode 100644 index 00000000..d6f5c6a3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsA1-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, 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_output_and_workspace@ws2-out1-fsT-wfsA1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsA1-spA2.snap new file mode 100644 index 00000000..07c87b2a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsA1-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsA1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsA1-spB1.snap new file mode 100644 index 00000000..233b3f67 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsA1-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, 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_output_and_workspace@ws2-out1-fsT-wfsA1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsA1-spB2.snap new file mode 100644 index 00000000..f77d4887 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsA1-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsA1.snap new file mode 100644 index 00000000..2f8e7be7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsA2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsA2-spA1.snap new file mode 100644 index 00000000..ac0e7477 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsA2-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsA2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsA2-spA2.snap new file mode 100644 index 00000000..5fb43a96 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsA2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsA2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsA2-spB1.snap new file mode 100644 index 00000000..0ea9d270 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsA2-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsA2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsA2-spB2.snap new file mode 100644 index 00000000..927cffaf --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsA2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsA2.snap new file mode 100644 index 00000000..7c001d53 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsAA-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsAA-spA1.snap new file mode 100644 index 00000000..1d558a76 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsAA-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsAA-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsAA-spA2.snap new file mode 100644 index 00000000..8e0e9596 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsAA-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsAA-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsAA-spB1.snap new file mode 100644 index 00000000..7c2a4e3c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsAA-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsAA-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsAA-spB2.snap new file mode 100644 index 00000000..abaa3ce7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsAA-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsAA.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsAA.snap new file mode 100644 index 00000000..b78d7805 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsAA.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsAN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsAN-spA1.snap new file mode 100644 index 00000000..c8738421 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsAN-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsAN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsAN-spA2.snap new file mode 100644 index 00000000..67bbe79c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsAN-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsAN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsAN-spB1.snap new file mode 100644 index 00000000..1b35828b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsAN-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsAN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsAN-spB2.snap new file mode 100644 index 00000000..e1143503 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsAN-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsAN.snap new file mode 100644 index 00000000..476aa2ca --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsAN.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsB1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsB1-spA1.snap new file mode 100644 index 00000000..77e47e3a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsB1-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsB1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsB1-spA2.snap new file mode 100644 index 00000000..9d534140 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsB1-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsB1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsB1-spB1.snap new file mode 100644 index 00000000..c8c63ab0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsB1-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsB1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsB1-spB2.snap new file mode 100644 index 00000000..548c642f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsB1-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsB1.snap new file mode 100644 index 00000000..31f8c613 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsB2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsB2-spA1.snap new file mode 100644 index 00000000..99892ab1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsB2-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsB2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsB2-spA2.snap new file mode 100644 index 00000000..6cc47c59 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsB2-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsB2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsB2-spB1.snap new file mode 100644 index 00000000..2183007d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsB2-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsB2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsB2-spB2.snap new file mode 100644 index 00000000..a6d0f212 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsB2-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsB2.snap new file mode 100644 index 00000000..043e1b01 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsBN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsBN-spA1.snap new file mode 100644 index 00000000..59edc483 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsBN-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsBN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsBN-spA2.snap new file mode 100644 index 00000000..66aa3963 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsBN-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsBN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsBN-spB1.snap new file mode 100644 index 00000000..54e78591 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsBN-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsBN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsBN-spB2.snap new file mode 100644 index 00000000..c12078ae --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsBN-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsBN.snap new file mode 100644 index 00000000..66097ccc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsBN.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsBU-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsBU-spA1.snap new file mode 100644 index 00000000..f25ddf4a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsBU-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsBU-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsBU-spA2.snap new file mode 100644 index 00000000..a3a30c7a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsBU-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsBU-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsBU-spB1.snap new file mode 100644 index 00000000..c7fc1376 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsBU-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsBU-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsBU-spB2.snap new file mode 100644 index 00000000..c98353ed --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsBU-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsBU.snap new file mode 100644 index 00000000..b4b450fb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT-wfsBU.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT.snap new file mode 100644 index 00000000..5be5da26 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsT.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-spA1.snap new file mode 100644 index 00000000..df62bf0a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-spA2.snap new file mode 100644 index 00000000..fe184842 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-spB1.snap new file mode 100644 index 00000000..d514f5e6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-spB2.snap new file mode 100644 index 00000000..f76720e1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsA1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsA1-spA1.snap new file mode 100644 index 00000000..f24c1fe8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsA1-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, 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_output_and_workspace@ws2-out1-wfsA1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsA1-spA2.snap new file mode 100644 index 00000000..352d8a21 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsA1-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsA1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsA1-spB1.snap new file mode 100644 index 00000000..a8f73356 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsA1-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, 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_output_and_workspace@ws2-out1-wfsA1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsA1-spB2.snap new file mode 100644 index 00000000..7c98365b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsA1-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsA1.snap new file mode 100644 index 00000000..af1f7a7b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsA2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsA2-spA1.snap new file mode 100644 index 00000000..34b7eb46 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsA2-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsA2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsA2-spA2.snap new file mode 100644 index 00000000..3da318cc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsA2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsA2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsA2-spB1.snap new file mode 100644 index 00000000..3e5b817b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsA2-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsA2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsA2-spB2.snap new file mode 100644 index 00000000..e78fb694 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsA2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsA2.snap new file mode 100644 index 00000000..308ad00c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAA-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAA-spA1.snap new file mode 100644 index 00000000..59cc9f46 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAA-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAA-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAA-spA2.snap new file mode 100644 index 00000000..548b90d4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAA-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAA-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAA-spB1.snap new file mode 100644 index 00000000..acb5d0fc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAA-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAA-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAA-spB2.snap new file mode 100644 index 00000000..06325066 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAA-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAA.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAA.snap new file mode 100644 index 00000000..69ee5dba --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAA.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAN-spA1.snap new file mode 100644 index 00000000..034874b2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAN-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAN-spA2.snap new file mode 100644 index 00000000..da26f3b3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAN-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAN-spB1.snap new file mode 100644 index 00000000..5b4c8a98 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAN-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAN-spB2.snap new file mode 100644 index 00000000..d48ce5a5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAN-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAN.snap new file mode 100644 index 00000000..6430002f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAN.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsB1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsB1-spA1.snap new file mode 100644 index 00000000..138ea91e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsB1-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsB1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsB1-spA2.snap new file mode 100644 index 00000000..dfca2a29 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsB1-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsB1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsB1-spB1.snap new file mode 100644 index 00000000..d570bd73 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsB1-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsB1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsB1-spB2.snap new file mode 100644 index 00000000..bb0e4eed --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsB1-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsB1.snap new file mode 100644 index 00000000..bafb5c46 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsB2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsB2-spA1.snap new file mode 100644 index 00000000..8f4e7898 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsB2-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsB2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsB2-spA2.snap new file mode 100644 index 00000000..f9dea4ef --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsB2-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsB2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsB2-spB1.snap new file mode 100644 index 00000000..d5f51677 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsB2-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsB2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsB2-spB2.snap new file mode 100644 index 00000000..bba76061 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsB2-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsB2.snap new file mode 100644 index 00000000..b23c68e0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBN-spA1.snap new file mode 100644 index 00000000..21a34f5e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBN-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBN-spA2.snap new file mode 100644 index 00000000..23276c7b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBN-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBN-spB1.snap new file mode 100644 index 00000000..ec7c8f2b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBN-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBN-spB2.snap new file mode 100644 index 00000000..a60dffee --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBN-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBN.snap new file mode 100644 index 00000000..3cdc4094 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBN.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBU-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBU-spA1.snap new file mode 100644 index 00000000..f3f1f0bf --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBU-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBU-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBU-spA2.snap new file mode 100644 index 00000000..a8fa19b2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBU-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBU-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBU-spB1.snap new file mode 100644 index 00000000..31592ec2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBU-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBU-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBU-spB2.snap new file mode 100644 index 00000000..610c1fe5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBU-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBU.snap new file mode 100644 index 00000000..6165449a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBU.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1.snap new file mode 100644 index 00000000..0b040c3c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-spA1.snap new file mode 100644 index 00000000..2c3a5fff --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-spA2.snap new file mode 100644 index 00000000..24dfd2d8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-spB1.snap new file mode 100644 index 00000000..b58167c5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-spB2.snap new file mode 100644 index 00000000..d8a2c22a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsA1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsA1-spA1.snap new file mode 100644 index 00000000..853b07de --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsA1-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, 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_output_and_workspace@ws2-out2-fsF-wfsA1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsA1-spA2.snap new file mode 100644 index 00000000..2d5265e6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsA1-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsA1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsA1-spB1.snap new file mode 100644 index 00000000..504c4813 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsA1-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, 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_output_and_workspace@ws2-out2-fsF-wfsA1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsA1-spB2.snap new file mode 100644 index 00000000..f02310a8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsA1-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsA1.snap new file mode 100644 index 00000000..2af2d4e4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsA2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsA2-spA1.snap new file mode 100644 index 00000000..ed1c037a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsA2-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsA2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsA2-spA2.snap new file mode 100644 index 00000000..1ae53fa6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsA2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsA2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsA2-spB1.snap new file mode 100644 index 00000000..9adcd13e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsA2-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsA2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsA2-spB2.snap new file mode 100644 index 00000000..00cdace6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsA2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsA2.snap new file mode 100644 index 00000000..5b6d7a37 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAA-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAA-spA1.snap new file mode 100644 index 00000000..f864e76f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAA-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAA-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAA-spA2.snap new file mode 100644 index 00000000..c6754f2a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAA-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAA-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAA-spB1.snap new file mode 100644 index 00000000..30b2690b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAA-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAA-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAA-spB2.snap new file mode 100644 index 00000000..94439617 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAA-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAA.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAA.snap new file mode 100644 index 00000000..fe10b9c2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAA.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAN-spA1.snap new file mode 100644 index 00000000..0d18a98e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAN-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAN-spA2.snap new file mode 100644 index 00000000..8a83a721 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAN-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAN-spB1.snap new file mode 100644 index 00000000..b61e93b4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAN-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAN-spB2.snap new file mode 100644 index 00000000..b95bf8a1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAN-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAN.snap new file mode 100644 index 00000000..ef8ab8db --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAN.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB1-spA1.snap new file mode 100644 index 00000000..4752d3a1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB1-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB1-spA2.snap new file mode 100644 index 00000000..a5909f18 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB1-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB1-spB1.snap new file mode 100644 index 00000000..6550474b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB1-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB1-spB2.snap new file mode 100644 index 00000000..b3a3ca81 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB1-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB1.snap new file mode 100644 index 00000000..16e191b6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB2-spA1.snap new file mode 100644 index 00000000..5df6e5e8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB2-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB2-spA2.snap new file mode 100644 index 00000000..25b89891 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB2-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB2-spB1.snap new file mode 100644 index 00000000..bcafbb47 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB2-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB2-spB2.snap new file mode 100644 index 00000000..0b238b43 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB2-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB2.snap new file mode 100644 index 00000000..11dc7f61 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBN-spA1.snap new file mode 100644 index 00000000..92e71347 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBN-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBN-spA2.snap new file mode 100644 index 00000000..7164af46 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBN-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBN-spB1.snap new file mode 100644 index 00000000..f68af641 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBN-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBN-spB2.snap new file mode 100644 index 00000000..91ad0f18 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBN-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBN.snap new file mode 100644 index 00000000..5e5b3049 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBN.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBU-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBU-spA1.snap new file mode 100644 index 00000000..4aa81470 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBU-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBU-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBU-spA2.snap new file mode 100644 index 00000000..2a54aa26 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBU-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBU-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBU-spB1.snap new file mode 100644 index 00000000..c7092678 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBU-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBU-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBU-spB2.snap new file mode 100644 index 00000000..295b70be --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBU-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBU.snap new file mode 100644 index 00000000..62278f3f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBU.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF.snap new file mode 100644 index 00000000..c5bc1dad --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen false\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-spA1.snap new file mode 100644 index 00000000..3f863512 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-spA2.snap new file mode 100644 index 00000000..cad11f70 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-spB1.snap new file mode 100644 index 00000000..6b21cf2b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-spB2.snap new file mode 100644 index 00000000..305758a5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsA1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsA1-spA1.snap new file mode 100644 index 00000000..b47ee4db --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsA1-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, 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_output_and_workspace@ws2-out2-fsT-wfsA1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsA1-spA2.snap new file mode 100644 index 00000000..0e1ab0c1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsA1-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsA1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsA1-spB1.snap new file mode 100644 index 00000000..1cb570e6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsA1-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, 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_output_and_workspace@ws2-out2-fsT-wfsA1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsA1-spB2.snap new file mode 100644 index 00000000..829e2010 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsA1-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsA1.snap new file mode 100644 index 00000000..7ed969de --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsA2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsA2-spA1.snap new file mode 100644 index 00000000..ecb4f59b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsA2-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsA2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsA2-spA2.snap new file mode 100644 index 00000000..19914dea --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsA2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsA2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsA2-spB1.snap new file mode 100644 index 00000000..afccd9ef --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsA2-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsA2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsA2-spB2.snap new file mode 100644 index 00000000..eaaa4a31 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsA2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsA2.snap new file mode 100644 index 00000000..f0d0e39d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsAA-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsAA-spA1.snap new file mode 100644 index 00000000..e0d58ca3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsAA-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsAA-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsAA-spA2.snap new file mode 100644 index 00000000..cf2c517c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsAA-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsAA-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsAA-spB1.snap new file mode 100644 index 00000000..61ff873e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsAA-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsAA-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsAA-spB2.snap new file mode 100644 index 00000000..74604013 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsAA-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsAA.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsAA.snap new file mode 100644 index 00000000..61edc32f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsAA.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsAN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsAN-spA1.snap new file mode 100644 index 00000000..1e67c497 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsAN-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsAN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsAN-spA2.snap new file mode 100644 index 00000000..af71aca6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsAN-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsAN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsAN-spB1.snap new file mode 100644 index 00000000..b6f55af7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsAN-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsAN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsAN-spB2.snap new file mode 100644 index 00000000..65648c05 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsAN-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsAN.snap new file mode 100644 index 00000000..0bc42e89 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsAN.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsB1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsB1-spA1.snap new file mode 100644 index 00000000..b595df35 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsB1-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsB1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsB1-spA2.snap new file mode 100644 index 00000000..67b217d3 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsB1-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsB1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsB1-spB1.snap new file mode 100644 index 00000000..ffc505b2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsB1-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsB1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsB1-spB2.snap new file mode 100644 index 00000000..e5bc5870 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsB1-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsB1.snap new file mode 100644 index 00000000..0e61ced7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsB2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsB2-spA1.snap new file mode 100644 index 00000000..3965f57e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsB2-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsB2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsB2-spA2.snap new file mode 100644 index 00000000..af1bf5b6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsB2-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsB2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsB2-spB1.snap new file mode 100644 index 00000000..07f28497 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsB2-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsB2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsB2-spB2.snap new file mode 100644 index 00000000..8fc9e3be --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsB2-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsB2.snap new file mode 100644 index 00000000..72dbd80f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsBN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsBN-spA1.snap new file mode 100644 index 00000000..ca604d28 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsBN-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsBN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsBN-spA2.snap new file mode 100644 index 00000000..0203c6bb --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsBN-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsBN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsBN-spB1.snap new file mode 100644 index 00000000..0bff1742 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsBN-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsBN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsBN-spB2.snap new file mode 100644 index 00000000..edc1c1de --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsBN-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsBN.snap new file mode 100644 index 00000000..21cff8c2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsBN.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsBU-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsBU-spA1.snap new file mode 100644 index 00000000..962807a4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsBU-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsBU-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsBU-spA2.snap new file mode 100644 index 00000000..5a2a49a2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsBU-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsBU-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsBU-spB1.snap new file mode 100644 index 00000000..245afbca --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsBU-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsBU-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsBU-spB2.snap new file mode 100644 index 00000000..72a9ee57 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsBU-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsBU.snap new file mode 100644 index 00000000..263b42c8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT-wfsBU.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT.snap new file mode 100644 index 00000000..c13c207f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsT.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n open-fullscreen true\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-spA1.snap new file mode 100644 index 00000000..fa2e3d58 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-spA2.snap new file mode 100644 index 00000000..ed985e6a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-spB1.snap new file mode 100644 index 00000000..dbffc573 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-spB2.snap new file mode 100644 index 00000000..f68d699e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsA1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsA1-spA1.snap new file mode 100644 index 00000000..8c973343 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsA1-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, 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_output_and_workspace@ws2-out2-wfsA1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsA1-spA2.snap new file mode 100644 index 00000000..36ec2a56 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsA1-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsA1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsA1-spB1.snap new file mode 100644 index 00000000..512bf064 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsA1-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, 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_output_and_workspace@ws2-out2-wfsA1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsA1-spB2.snap new file mode 100644 index 00000000..03f4a05f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsA1-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsA1.snap new file mode 100644 index 00000000..111c02c6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsA2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsA2-spA1.snap new file mode 100644 index 00000000..67dc3616 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsA2-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsA2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsA2-spA2.snap new file mode 100644 index 00000000..715b293f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsA2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsA2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsA2-spB1.snap new file mode 100644 index 00000000..bb755e5e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsA2-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsA2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsA2-spB2.snap new file mode 100644 index 00000000..77636001 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsA2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsA2.snap new file mode 100644 index 00000000..cb933a49 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAA-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAA-spA1.snap new file mode 100644 index 00000000..665542d9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAA-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAA-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAA-spA2.snap new file mode 100644 index 00000000..0db068d1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAA-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAA-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAA-spB1.snap new file mode 100644 index 00000000..d1d7f2dc --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAA-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAA-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAA-spB2.snap new file mode 100644 index 00000000..de633d68 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAA-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAA.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAA.snap new file mode 100644 index 00000000..dfae159f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAA.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAN-spA1.snap new file mode 100644 index 00000000..04ee41ba --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAN-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAN-spA2.snap new file mode 100644 index 00000000..77cb2d1d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAN-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAN-spB1.snap new file mode 100644 index 00000000..26d13a17 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAN-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAN-spB2.snap new file mode 100644 index 00000000..e37a356f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAN-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAN.snap new file mode 100644 index 00000000..7d26a870 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAN.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsB1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsB1-spA1.snap new file mode 100644 index 00000000..f8657ad5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsB1-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsB1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsB1-spA2.snap new file mode 100644 index 00000000..fbdd2d87 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsB1-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsB1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsB1-spB1.snap new file mode 100644 index 00000000..4a94c7f5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsB1-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsB1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsB1-spB2.snap new file mode 100644 index 00000000..106efd65 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsB1-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsB1.snap new file mode 100644 index 00000000..cbc18518 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsB2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsB2-spA1.snap new file mode 100644 index 00000000..f64f3069 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsB2-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsB2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsB2-spA2.snap new file mode 100644 index 00000000..e6df6408 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsB2-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsB2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsB2-spB1.snap new file mode 100644 index 00000000..eab9b686 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsB2-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsB2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsB2-spB2.snap new file mode 100644 index 00000000..e4a41a51 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsB2-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsB2.snap new file mode 100644 index 00000000..e6a43a89 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBN-spA1.snap new file mode 100644 index 00000000..3bf211f8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBN-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBN-spA2.snap new file mode 100644 index 00000000..96c05e25 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBN-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBN-spB1.snap new file mode 100644 index 00000000..12e51795 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBN-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBN-spB2.snap new file mode 100644 index 00000000..bdf9f197 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBN-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBN.snap new file mode 100644 index 00000000..f65a7a07 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBN.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBU-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBU-spA1.snap new file mode 100644 index 00000000..3337c66a --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBU-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBU-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBU-spA2.snap new file mode 100644 index 00000000..b1a0288e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBU-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBU-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBU-spB1.snap new file mode 100644 index 00000000..3030edbf --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBU-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBU-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBU-spB2.snap new file mode 100644 index 00000000..e42d86b1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBU-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBU.snap new file mode 100644 index 00000000..a5dd2c87 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBU.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2.snap new file mode 100644 index 00000000..ca973d28 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-spA1.snap new file mode 100644 index 00000000..f2071298 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-spA2.snap new file mode 100644 index 00000000..3c651b12 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-spB1.snap new file mode 100644 index 00000000..6cd33a44 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-spB2.snap new file mode 100644 index 00000000..27d5151b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsA1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsA1-spA1.snap new file mode 100644 index 00000000..ffe8e2f6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsA1-spA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, 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_output_and_workspace@ws2-wfsA1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsA1-spA2.snap new file mode 100644 index 00000000..09cd00b8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsA1-spA2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsA1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsA1-spB1.snap new file mode 100644 index 00000000..b3dea71b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsA1-spB1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-1 +final workspace: 0 (ws-1) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, 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_output_and_workspace@ws2-wfsA1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsA1-spB2.snap new file mode 100644 index 00000000..ae277425 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsA1-spB2.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsA1.snap new file mode 100644 index 00000000..24aad1ac --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsA1.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsA2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsA2-spA1.snap new file mode 100644 index 00000000..04c8b07f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsA2-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsA2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsA2-spA2.snap new file mode 100644 index 00000000..6e29f9ae --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsA2-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsA2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsA2-spB1.snap new file mode 100644 index 00000000..2ebc2de7 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsA2-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsA2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsA2-spB2.snap new file mode 100644 index 00000000..3296a6e6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsA2-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsA2.snap new file mode 100644 index 00000000..3ffa5b0f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAA-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAA-spA1.snap new file mode 100644 index 00000000..60986c1d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAA-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAA-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAA-spA2.snap new file mode 100644 index 00000000..9349da8e --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAA-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAA-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAA-spB1.snap new file mode 100644 index 00000000..07861aa0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAA-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAA-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAA-spB2.snap new file mode 100644 index 00000000..74e0da63 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAA-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAA.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAA.snap new file mode 100644 index 00000000..c590a56f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAA.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 936 × 1048, bounds: 1888 × 1048, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAN-spA1.snap new file mode 100644 index 00000000..59baaa84 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAN-spA1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAN-spA2.snap new file mode 100644 index 00000000..89cf3f74 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAN-spA2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAN-spB1.snap new file mode 100644 index 00000000..3a59be46 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAN-spB1.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAN-spB2.snap new file mode 100644 index 00000000..bb4947df --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAN-spB2.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAN.snap new file mode 100644 index 00000000..eeadaff8 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAN.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsB1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsB1-spA1.snap new file mode 100644 index 00000000..a8610b8b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsB1-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsB1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsB1-spA2.snap new file mode 100644 index 00000000..42928ab6 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsB1-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsB1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsB1-spB1.snap new file mode 100644 index 00000000..c007ff71 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsB1-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsB1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsB1-spB2.snap new file mode 100644 index 00000000..4c55a0d9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsB1-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsB1.snap new file mode 100644 index 00000000..5432a34c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsB2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsB2-spA1.snap new file mode 100644 index 00000000..ddb8a3a1 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsB2-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsB2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsB2-spA2.snap new file mode 100644 index 00000000..3a5f35f5 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsB2-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsB2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsB2-spB1.snap new file mode 100644 index 00000000..ab868a87 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsB2-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsB2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsB2-spB2.snap new file mode 100644 index 00000000..c082e360 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsB2-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsB2.snap new file mode 100644 index 00000000..1e636974 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBN-spA1.snap new file mode 100644 index 00000000..fbfda392 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBN-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBN-spA2.snap new file mode 100644 index 00000000..4e725eed --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBN-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBN-spB1.snap new file mode 100644 index 00000000..04863aae --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBN-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBN-spB2.snap new file mode 100644 index 00000000..e641278d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBN-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBN.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBN.snap new file mode 100644 index 00000000..2d363395 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBN.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBU-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBU-spA1.snap new file mode 100644 index 00000000..dcdf3928 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBU-spA1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBU-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBU-spA2.snap new file mode 100644 index 00000000..c28bb49d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBU-spA2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBU-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBU-spB1.snap new file mode 100644 index 00000000..d35e7a33 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBU-spB1.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBU-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBU-spB2.snap new file mode 100644 index 00000000..175eab5b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBU-spB2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBU.snap new file mode 100644 index 00000000..b3853af4 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBU.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2.snap new file mode 100644 index 00000000..0870bf6d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2.snap @@ -0,0 +1,13 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-workspace \"ws-2\"\n}" +expression: snapshot +snapshot_kind: text +--- +final monitor: headless-2 +final workspace: 0 (ws-2) + +initial configure: +size: 936 × 1048, bounds: 1888 × 1048, states: [] + +post-map configures: diff --git a/src/tests/window_opening.rs b/src/tests/window_opening.rs new file mode 100644 index 00000000..7d22372a --- /dev/null +++ b/src/tests/window_opening.rs @@ -0,0 +1,357 @@ +use std::fmt::{self, Write as _}; + +use insta::assert_snapshot; +use niri_config::Config; +use rayon::iter::{IntoParallelIterator, ParallelIterator}; + +use super::*; +use crate::utils::with_toplevel_role; + +#[test] +fn simple_no_workspaces() { + let mut f = Fixture::new(); + + let id = f.add_client(); + let window = f.client(id).create_window(); + let surface = window.surface.clone(); + window.commit(); + f.roundtrip(id); + + let window = f.client(id).window(&surface); + assert_snapshot!( + window.format_recent_configures(), + @"size: 0 × 0, bounds: 0 × 0, states: []" + ); + + window.attach_new_buffer(); + window.set_size(100, 100); + window.ack_last_and_commit(); + f.double_roundtrip(id); + + let window = f.client(id).window(&surface); + assert_snapshot!( + window.format_recent_configures(), + @"size: 100 × 688, bounds: 1248 × 688, states: []" + ); +} + +#[test] +fn simple() { + let mut f = Fixture::new(); + f.add_output(1, (1920, 1080)); + + let id = f.add_client(); + let window = f.client(id).create_window(); + let surface = window.surface.clone(); + window.commit(); + f.roundtrip(id); + + let window = f.client(id).window(&surface); + assert_snapshot!( + window.format_recent_configures(), + @"size: 936 × 1048, bounds: 1888 × 1048, states: []" + ); + + window.attach_new_buffer(); + window.ack_last_and_commit(); + f.double_roundtrip(id); + + let window = f.client(id).window(&surface); + assert_snapshot!( + window.format_recent_configures(), + @"size: 936 × 1048, bounds: 1888 × 1048, states: [Activated]" + ); +} + +#[test] +fn dont_ack_initial_configure() { + let mut f = Fixture::new(); + f.add_output(1, (1920, 1080)); + + let id = f.add_client(); + let window = f.client(id).create_window(); + let surface = window.surface.clone(); + window.commit(); + f.roundtrip(id); + + let window = f.client(id).window(&surface); + window.attach_new_buffer(); + // Don't ack the configure. + window.commit(); + f.double_roundtrip(id); + + // FIXME: Technically this is a protocol violation but uh. Smithay currently doesn't check it, + // and I'm not sure if it can be done generically in Smithay (because a compositor may not use + // its rendering helpers). I might add a check in niri itself sometime; I'm just not sure if + // there might be clients that this could break. + let window = f.client(id).window(&surface); + assert_snapshot!( + window.format_recent_configures(), + @r" + size: 936 × 1048, bounds: 1888 × 1048, states: [] + size: 936 × 1048, bounds: 1888 × 1048, states: [Activated] + " + ); +} + +#[derive(Clone, Copy)] +enum WantFullscreen { + No, + UnsetBeforeInitial, + BeforeInitial(Option<&'static str>), + UnsetAfterInitial, + AfterInitial(Option<&'static str>), +} + +impl fmt::Display for WantFullscreen { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + match self { + WantFullscreen::No => write!(f, "U")?, + WantFullscreen::UnsetBeforeInitial => write!(f, "BU")?, + WantFullscreen::UnsetAfterInitial => write!(f, "AA")?, + WantFullscreen::BeforeInitial(m) => write!(f, "B{}", m.unwrap_or("N"))?, + WantFullscreen::AfterInitial(m) => write!(f, "A{}", m.unwrap_or("N"))?, + } + Ok(()) + } +} + +#[derive(Clone, Copy)] +enum SetParent { + BeforeInitial(&'static str), + AfterInitial(&'static str), +} + +impl fmt::Display for SetParent { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + match self { + SetParent::BeforeInitial(m) => write!(f, "B{m}")?, + SetParent::AfterInitial(m) => write!(f, "A{m}")?, + } + Ok(()) + } +} + +#[test] +fn target_output_and_workspaces() { + // Here we test a massive powerset of settings that can affect where a window opens: + // + // * open-on-workspace + // * open-on-output + // * has parent (windows will open next to their parent) + // * want fullscreen (windows can request the target fullscreen output) + // * open-fullscreen (can deny the fullscreen request) + + let open_on_workspace = [None, Some("1"), Some("2")]; + let open_on_output = [None, Some("1"), Some("2")]; + let open_fullscreen = [None, Some("false"), Some("true")]; + let want_fullscreen = [ + WantFullscreen::No, + WantFullscreen::UnsetBeforeInitial, // GTK 4 + WantFullscreen::BeforeInitial(None), + WantFullscreen::BeforeInitial(Some("1")), + WantFullscreen::BeforeInitial(Some("2")), + WantFullscreen::UnsetAfterInitial, + // mpv, osu! + WantFullscreen::AfterInitial(None), + WantFullscreen::AfterInitial(Some("1")), + WantFullscreen::AfterInitial(Some("2")), + ]; + let set_parent = [ + None, + Some(SetParent::BeforeInitial("1")), + Some(SetParent::BeforeInitial("2")), + Some(SetParent::AfterInitial("1")), + Some(SetParent::AfterInitial("2")), + ]; + + let mut powerset = Vec::new(); + for ws in open_on_workspace { + for out in open_on_output { + for fs in open_fullscreen { + for wfs in want_fullscreen { + for sp in set_parent { + powerset.push((ws, out, fs, wfs, sp)); + } + } + } + } + } + + powerset.into_par_iter().for_each(|(ws, out, fs, wfs, sp)| { + check_target_output_and_workspace(ws, out, fs, wfs, sp); + }); +} + +fn check_target_output_and_workspace( + open_on_workspace: Option<&str>, + open_on_output: Option<&str>, + open_fullscreen: Option<&str>, + want_fullscreen: WantFullscreen, + set_parent: Option, +) { + let mut snapshot_desc = Vec::new(); + let mut snapshot_suffix = Vec::new(); + + let mut config = String::from( + r##" +workspace "ws-1" { + open-on-output "headless-1" +} + +workspace "ws-2" { + open-on-output "headless-2" +} + +window-rule { + exclude title="parent" + +"##, + ); + + if let Some(x) = open_on_workspace { + writeln!(config, " open-on-workspace \"ws-{x}\"").unwrap(); + snapshot_suffix.push(format!("ws{x}")); + } + + if let Some(x) = open_on_output { + writeln!(config, " open-on-output \"headless-{x}\"").unwrap(); + snapshot_suffix.push(format!("out{x}")); + } + + if let Some(x) = open_fullscreen { + writeln!(config, " open-fullscreen {x}").unwrap(); + + let x = if x == "true" { "T" } else { "F" }; + snapshot_suffix.push(format!("fs{x}")); + } + config.push('}'); + + match &want_fullscreen { + WantFullscreen::No => (), + x => { + snapshot_desc.push(format!("want fullscreen: {x}")); + snapshot_suffix.push(format!("wfs{x}")); + } + } + + if let Some(set_parent) = set_parent { + let mon = match set_parent { + SetParent::BeforeInitial(mon) => mon, + SetParent::AfterInitial(mon) => mon, + }; + write!( + config, + " + +window-rule {{ + match title=\"parent\" + open-on-output \"headless-{mon}\" +}}" + ) + .unwrap(); + + snapshot_desc.push(format!("set parent: {set_parent}")); + snapshot_suffix.push(format!("sp{set_parent}")); + } + + snapshot_desc.push(format!("config:{config}")); + + let config = Config::parse("config.kdl", &config).unwrap(); + + let mut f = Fixture::with_config(config); + f.add_output(1, (1280, 720)); + f.add_output(2, (1920, 1080)); + + let id = f.add_client(); + + // To get output names. + f.roundtrip(id); + + let mut parent = None; + if set_parent.is_some() { + let window = f.client(id).create_window(); + let surface = window.surface.clone(); + parent = Some(window.xdg_toplevel.clone()); + window.set_title("parent"); + window.commit(); + f.roundtrip(id); + + let window = f.client(id).window(&surface); + window.attach_new_buffer(); + window.ack_last_and_commit(); + f.roundtrip(id); + } + + let client = f.client(id); + let window = client.create_window(); + let surface = window.surface.clone(); + + if let Some(SetParent::BeforeInitial(_)) = set_parent { + client.window(&surface).set_parent(parent.as_ref()); + } + + if let WantFullscreen::UnsetBeforeInitial = want_fullscreen { + client.window(&surface).unset_fullscreen(); + } else if let WantFullscreen::BeforeInitial(mon) = want_fullscreen { + let output = mon.map(|mon| client.output(&format!("headless-{mon}"))); + client.window(&surface).set_fullscreen(output.as_ref()); + } + + client.window(&surface).commit(); + f.roundtrip(id); + + let client = f.client(id); + let initial = client.window(&surface).format_recent_configures(); + + if let Some(SetParent::AfterInitial(_)) = set_parent { + client.window(&surface).set_parent(parent.as_ref()); + } + + if let WantFullscreen::UnsetAfterInitial = want_fullscreen { + client.window(&surface).unset_fullscreen(); + } else if let WantFullscreen::AfterInitial(mon) = want_fullscreen { + let output = mon.map(|mon| client.output(&format!("headless-{mon}"))); + client.window(&surface).set_fullscreen(output.as_ref()); + } + + let window = client.window(&surface); + window.attach_new_buffer(); + window.ack_last_and_commit(); + f.double_roundtrip(id); + + let niri = f.niri(); + let (mon, ws_idx, ws) = niri + .layout + .workspaces() + .find(|(_, _, ws)| { + ws.windows().any(|win| { + with_toplevel_role(win.toplevel(), |role| { + role.title.as_deref() != Some("parent") + }) + }) + }) + .unwrap(); + let mon = mon.unwrap().output_name().clone(); + let ws = ws.name().cloned().unwrap_or(String::from("unnamed")); + + let window = f.client(id).window(&surface); + let snapshot = format!( + "\ +final monitor: {mon} +final workspace: {ws_idx} ({ws}) + +initial configure: +{initial} + +post-map configures: +{}", + window.format_recent_configures() + ); + + let mut settings = insta::Settings::clone_current(); + settings.set_snapshot_suffix(snapshot_suffix.join("-")); + settings.set_description(snapshot_desc.join("\n")); + let _guard = settings.bind_to_scope(); + assert_snapshot!(snapshot); +}