diff --git a/Cargo.lock b/Cargo.lock index eb0715631..8ac8b1467 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 83f0cbbff..286f9cac0 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 abce64a14..62d6eebf1 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 000000000..4ab3d9898 --- /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 000000000..742544a7f --- /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 000000000..1e31478a5 --- /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 000000000..7f6403a42 --- /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 000000000..473157d7a --- /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 000000000..f02dddacb --- /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 000000000..8499d64d8 --- /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 000000000..a4b210678 --- /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 000000000..c7f109838 --- /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 000000000..848b895af --- /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 000000000..37eabd065 --- /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 000000000..69fed033e --- /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 000000000..ca7985269 --- /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 000000000..04367b43b --- /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 000000000..52d1047e9 --- /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 000000000..170c11e0b --- /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 000000000..4c41903d7 --- /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 000000000..30f966c47 --- /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 000000000..3655ce421 --- /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 000000000..9a34d0445 --- /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 000000000..3cca1af22 --- /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 000000000..cbaa92501 --- /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 000000000..03b39757d --- /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 000000000..ab82237a2 --- /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 000000000..662710724 --- /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 000000000..fd68dbe87 --- /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 000000000..8b0ffc4bd --- /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 000000000..df5651187 --- /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 000000000..2d74f3361 --- /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 000000000..1cc2c1a01 --- /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 000000000..06b7d799b --- /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 000000000..414d07436 --- /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 000000000..c543ee1bf --- /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 000000000..93edc62d0 --- /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 000000000..e43e7bae2 --- /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 000000000..aa8e4f734 --- /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 000000000..37c6140cd --- /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 000000000..d383e3f2e --- /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 000000000..0a0d79378 --- /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 000000000..6f0369ebd --- /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 000000000..b4c01dc10 --- /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 000000000..d7cd751e7 --- /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 000000000..7f519e855 --- /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 000000000..7981a1134 --- /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 000000000..f598ccf30 --- /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 000000000..4d4fa5ead --- /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 000000000..ef1183a67 --- /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 000000000..54b885ee6 --- /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 000000000..72f633a94 --- /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 000000000..659fc63fe --- /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 000000000..a1e5d424b --- /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 000000000..f9da4e13a --- /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 000000000..7a914f2fd --- /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 000000000..5e6ed5c56 --- /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 000000000..70b3ba2ae --- /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 000000000..2b9ca28bd --- /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 000000000..7a0010048 --- /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 000000000..2607367d0 --- /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 000000000..0d38c6ca8 --- /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 000000000..ab5bb7984 --- /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 000000000..416340bee --- /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 000000000..244c5e2e7 --- /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 000000000..b8d5f2f39 --- /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 000000000..05d52b930 --- /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 000000000..795ac0ba9 --- /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 000000000..29a0e5ce3 --- /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 000000000..2fd1944a1 --- /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 000000000..6b23ac7e7 --- /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 000000000..508b2bad8 --- /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 000000000..e2b98c1fc --- /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 000000000..f7ba4bee4 --- /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 000000000..63142ed42 --- /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 000000000..c12cb3b47 --- /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 000000000..e77166bd7 --- /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 000000000..88241e3c6 --- /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 000000000..8d0677f97 --- /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 000000000..87ac9935a --- /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 000000000..92ca5cb9a --- /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 000000000..472671851 --- /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 000000000..e08a58884 --- /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 000000000..f5055a668 --- /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 000000000..90e444651 --- /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 000000000..dcef1362f --- /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 000000000..8f00cdada --- /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 000000000..a91961ddb --- /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 000000000..dfaaf1da9 --- /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 000000000..1ff1154a8 --- /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 000000000..969039fdc --- /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 000000000..0ce6f58fc --- /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 000000000..46f2fe668 --- /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 000000000..bc4a0ab48 --- /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 000000000..6b58b5e93 --- /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 000000000..4f78a1fb7 --- /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 000000000..9bfa3cf05 --- /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 000000000..0512a054a --- /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 000000000..3ae222f56 --- /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 000000000..ea477316b --- /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 000000000..b99e7ecec --- /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 000000000..f454ba509 --- /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 000000000..7d2a88419 --- /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 000000000..129682335 --- /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 000000000..3d413f939 --- /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 000000000..73304f09d --- /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 000000000..63c8483b0 --- /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 000000000..5e5a213ed --- /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 000000000..d29a59803 --- /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 000000000..e91cc902d --- /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 000000000..1232051d2 --- /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 000000000..22815c286 --- /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 000000000..f3e11cf3b --- /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 000000000..6f8d4c580 --- /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 000000000..8a64b42f5 --- /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 000000000..f5f2c676e --- /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 000000000..65ae97115 --- /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 000000000..1afc146f9 --- /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 000000000..e70c79722 --- /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 000000000..03369a660 --- /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 000000000..662f03a76 --- /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 000000000..979ef1d5e --- /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 000000000..3cd7ddf66 --- /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 000000000..b47a1c22f --- /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 000000000..9fc2a6cc0 --- /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 000000000..23fc69ba3 --- /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 000000000..62f6d9503 --- /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 000000000..5bda152da --- /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 000000000..530c4754e --- /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 000000000..568394aea --- /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 000000000..20849e377 --- /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 000000000..e17801de5 --- /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 000000000..b017f1fa9 --- /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 000000000..1238d733a --- /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 000000000..c0938976f --- /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 000000000..7b2af7362 --- /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 000000000..95586985f --- /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 000000000..b432d7045 --- /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 000000000..1c8a8895b --- /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 000000000..35d21314c --- /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 000000000..e0933a680 --- /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 000000000..205012e7b --- /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 000000000..13f7b9b5a --- /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 000000000..040bef99a --- /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 000000000..57ffd52c4 --- /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 000000000..b67b4e7d2 --- /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 000000000..96db6dafd --- /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 000000000..b256baf76 --- /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 000000000..a1ce8fcb9 --- /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 000000000..5316182fb --- /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 000000000..e59edb770 --- /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 000000000..c8ec3873e --- /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 000000000..7065518cc --- /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 000000000..1a4a816f9 --- /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 000000000..cb947dd41 --- /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 000000000..52992586a --- /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 000000000..33dbab2af --- /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 000000000..a14cabea3 --- /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 000000000..f44c6dd04 --- /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 000000000..f7b62a5ad --- /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 000000000..209388526 --- /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 000000000..2d9cbec51 --- /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 000000000..319f6a871 --- /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 000000000..aa5ccb2b5 --- /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 000000000..a8472faf6 --- /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 000000000..6f2b06b5b --- /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 000000000..77fcd6fea --- /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 000000000..ebf4e24a2 --- /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 000000000..900cc1a6f --- /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 000000000..992fb5c5b --- /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 000000000..b80292a21 --- /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 000000000..66b40f03a --- /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 000000000..eb792d976 --- /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 000000000..efe4f038f --- /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 000000000..f4dabd578 --- /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 000000000..18526833e --- /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 000000000..8c6157466 --- /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 000000000..baec579a4 --- /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 000000000..16f10c923 --- /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 000000000..571de5cad --- /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 000000000..447d30b84 --- /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 000000000..513d3d13a --- /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 000000000..fba5cfeba --- /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 000000000..e6a1ca88b --- /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 000000000..b3e85ac7d --- /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 000000000..1197c0bf6 --- /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 000000000..078172a0f --- /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 000000000..5bb80af09 --- /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 000000000..b7f2367dd --- /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 000000000..7c057f837 --- /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 000000000..7da0765f4 --- /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 000000000..cf20887ff --- /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 000000000..f1a4f0fcb --- /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 000000000..f48fe4e02 --- /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 000000000..3ea8fa046 --- /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 000000000..340d11cc9 --- /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 000000000..6d2da0379 --- /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 000000000..25c2c37fa --- /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 000000000..f2cfb3a26 --- /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 000000000..c0100a57d --- /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 000000000..4cdce07b6 --- /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 000000000..b6204bb9f --- /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 000000000..1f3686372 --- /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 000000000..cc8c8b5a3 --- /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 000000000..59216b80c --- /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 000000000..19050e5ec --- /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 000000000..eb30b38c2 --- /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 000000000..b32305caa --- /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 000000000..44b79ce7f --- /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 000000000..5f7146103 --- /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 000000000..fd1602869 --- /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 000000000..1930eeb43 --- /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 000000000..3a0cd2944 --- /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 000000000..8c34d66cc --- /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 000000000..0978ac435 --- /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 000000000..235c417b6 --- /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 000000000..35cfabad5 --- /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 000000000..4fd00cbd7 --- /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 000000000..fc21b5dd8 --- /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 000000000..4224e6e59 --- /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 000000000..21b10c14a --- /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 000000000..b9d6f0ad8 --- /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 000000000..4c6f848f0 --- /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 000000000..58a6ebec1 --- /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 000000000..608ae34d4 --- /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 000000000..018e7179e --- /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 000000000..8b939d969 --- /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 000000000..4cf213f69 --- /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 000000000..f77ac3b85 --- /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 000000000..3f6cd200f --- /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 000000000..1719f5e66 --- /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 000000000..83ab93e54 --- /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 000000000..f8eaf8d40 --- /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 000000000..eb68fefc9 --- /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 000000000..17dcc6e8e --- /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 000000000..cacef31b7 --- /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 000000000..da69fffb0 --- /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 000000000..82b7ab9df --- /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 000000000..bf3345601 --- /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 000000000..30d7d5155 --- /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 000000000..1561b17db --- /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 000000000..0f252fcdc --- /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 000000000..2bfe51e4e --- /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 000000000..4e6462d5a --- /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 000000000..22222a628 --- /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 000000000..b89b97427 --- /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 000000000..91fac3342 --- /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 000000000..84664863c --- /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 000000000..6db2cf9db --- /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 000000000..4a7fbf779 --- /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 000000000..7496cb6c6 --- /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 000000000..16069730b --- /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 000000000..02e3bc9fe --- /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 000000000..526f33516 --- /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 000000000..e1d201175 --- /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 000000000..f04afe6b9 --- /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 000000000..93e4f9040 --- /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 000000000..df3352d82 --- /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 000000000..c3fd628d9 --- /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 000000000..36eb732ac --- /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 000000000..0bc099b42 --- /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 000000000..1a6eed2f8 --- /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 000000000..d9cd66500 --- /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 000000000..344ed482f --- /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 000000000..e4e7a11e7 --- /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 000000000..019daaa7a --- /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 000000000..7978f4647 --- /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 000000000..fa2195047 --- /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 000000000..9774bc650 --- /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 000000000..aececa12e --- /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 000000000..6f5bd7f6b --- /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 000000000..d90fdba59 --- /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 000000000..495327adf --- /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 000000000..e32e32c95 --- /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 000000000..8a7e700d7 --- /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 000000000..05a29fb9f --- /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 000000000..c0892482b --- /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 000000000..0f9094d46 --- /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 000000000..126a80f06 --- /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 000000000..861e74fcc --- /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 000000000..52a387fb9 --- /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 000000000..a0d725405 --- /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 000000000..cff46d371 --- /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 000000000..835a57496 --- /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 000000000..d41a92b73 --- /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 000000000..196bb2215 --- /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 000000000..fc1a936f4 --- /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 000000000..e09182ad2 --- /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 000000000..f3f8120d7 --- /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 000000000..8d2a9ff01 --- /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 000000000..c23cef099 --- /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 000000000..3129501dd --- /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 000000000..a61bfdb5f --- /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 000000000..0c5627528 --- /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 000000000..06e7562b6 --- /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 000000000..eae4a1452 --- /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 000000000..73d835550 --- /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 000000000..cab9c5e33 --- /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 000000000..704f03be7 --- /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 000000000..1103d0938 --- /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 000000000..549a0e89e --- /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 000000000..6b4f0a67e --- /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 000000000..e6458433b --- /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 000000000..34184d4c7 --- /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 000000000..2978821da --- /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 000000000..79a37e17a --- /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 000000000..66700cd00 --- /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 000000000..adafdeb4f --- /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 000000000..a79395019 --- /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 000000000..e1fac6383 --- /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 000000000..8041a745a --- /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 000000000..b3ffc1a7d --- /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 000000000..24f105e39 --- /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 000000000..1d3b31cd1 --- /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 000000000..1ecbc28a5 --- /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 000000000..7bed426aa --- /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 000000000..915a29814 --- /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 000000000..843b4e330 --- /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 000000000..43593041c --- /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 000000000..6fad446d0 --- /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 000000000..89c848747 --- /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 000000000..e7af790d8 --- /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 000000000..0f5f7010e --- /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 000000000..2c7da4c20 --- /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 000000000..0dd3d1813 --- /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 000000000..1a95ea8cd --- /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 000000000..f9c96f180 --- /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 000000000..246b2604a --- /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 000000000..cb3273537 --- /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 000000000..67677c174 --- /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 000000000..86ff48231 --- /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 000000000..ace741af7 --- /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 000000000..67b80eca4 --- /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 000000000..9d18305b0 --- /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 000000000..92148d32a --- /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 000000000..3742cec2b --- /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 000000000..1c7f38558 --- /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 000000000..ebbaa6dd1 --- /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 000000000..eb03bf259 --- /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 000000000..e884c0091 --- /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 000000000..0d3841e6b --- /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 000000000..9f1626b63 --- /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 000000000..e26013aac --- /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 000000000..5ae0738e6 --- /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 000000000..952867469 --- /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 000000000..cfdfabb30 --- /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 000000000..6e4f28737 --- /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 000000000..3d705e50b --- /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 000000000..485b35dfa --- /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 000000000..81399b315 --- /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 000000000..184bc00e9 --- /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 000000000..339f3948f --- /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 000000000..22ffc4a0e --- /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 000000000..dd9eed527 --- /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 000000000..abd5ec9e0 --- /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 000000000..7e48c1461 --- /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 000000000..2a87e8055 --- /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 000000000..1c507985d --- /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 000000000..e3143bcb9 --- /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 000000000..6fd054f37 --- /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 000000000..5e1208ff0 --- /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 000000000..014490f77 --- /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 000000000..998c80526 --- /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 000000000..766d51e78 --- /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 000000000..a4185441d --- /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 000000000..e958177ca --- /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 000000000..ab0c18305 --- /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 000000000..83d8e821f --- /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 000000000..8f47bceba --- /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 000000000..e1fbc80f3 --- /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 000000000..1d906148e --- /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 000000000..7f68fa777 --- /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 000000000..6706da469 --- /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 000000000..2fb6c1287 --- /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 000000000..22ec1caec --- /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 000000000..993505993 --- /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 000000000..f3362a299 --- /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 000000000..38de07009 --- /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 000000000..79f9f795d --- /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 000000000..d439d5a12 --- /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 000000000..49b5f3909 --- /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 000000000..07f3fa9f6 --- /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 000000000..4eb77cddf --- /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 000000000..bbe759371 --- /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 000000000..264a1135e --- /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 000000000..9d90619d3 --- /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 000000000..1b69c3667 --- /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 000000000..05a190913 --- /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 000000000..86f517689 --- /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 000000000..4ccc50c1a --- /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 000000000..195b240ac --- /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 000000000..52be3fcd2 --- /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 000000000..df5b772ea --- /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 000000000..e87e7b6c9 --- /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 000000000..b7c44a9df --- /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 000000000..e5da2e321 --- /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 000000000..5ff4603d4 --- /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 000000000..e4546147e --- /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 000000000..2f5b8dfe0 --- /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 000000000..6aaf0218c --- /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 000000000..4459a4b46 --- /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 000000000..3a125cdde --- /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 000000000..7f28ad610 --- /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 000000000..2ad247e99 --- /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 000000000..67f83f873 --- /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 000000000..7c865cd6c --- /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 000000000..a89587a1e --- /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 000000000..19abb8db5 --- /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 000000000..e7b6a893c --- /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 000000000..c504fafc4 --- /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 000000000..692e286fc --- /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 000000000..ccfb65609 --- /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 000000000..4afe20116 --- /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 000000000..67b16b8d6 --- /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 000000000..544011a45 --- /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 000000000..c2a77fdeb --- /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 000000000..9805d8335 --- /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 000000000..dd6ee830d --- /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 000000000..96ef39e99 --- /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 000000000..c1f5c131a --- /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 000000000..c710efb59 --- /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 000000000..2454139ea --- /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 000000000..f38822426 --- /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 000000000..a410f8acf --- /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 000000000..c647be204 --- /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 000000000..b6a51aab4 --- /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 000000000..b54564ec1 --- /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 000000000..5c2ef7660 --- /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 000000000..e08bb16af --- /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 000000000..7bba6fcbf --- /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 000000000..456a21e70 --- /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 000000000..a53f2c333 --- /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 000000000..ff4a8d694 --- /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 000000000..24b3983c4 --- /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 000000000..b5a2fd9e4 --- /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 000000000..62cd395da --- /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 000000000..c09b312c6 --- /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 000000000..a0f482351 --- /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 000000000..644f7d9e4 --- /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 000000000..6b57545ca --- /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 000000000..e3c23f250 --- /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 000000000..259adab2b --- /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 000000000..3ea204cd4 --- /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 000000000..4921e71dc --- /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 000000000..5dcfe97fe --- /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 000000000..41d0b6d53 --- /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 000000000..dcc57313a --- /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 000000000..3d6278d01 --- /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 000000000..b31efd0c0 --- /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 000000000..203c12cd8 --- /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 000000000..5ce901f00 --- /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 000000000..b9393a0e6 --- /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 000000000..201e919d4 --- /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 000000000..eac09fff0 --- /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 000000000..c92c4ca93 --- /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 000000000..2739003a4 --- /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 000000000..aa3606200 --- /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 000000000..a4a08a866 --- /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 000000000..6afcc1d6e --- /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 000000000..b8c25aeb0 --- /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 000000000..860f6ddb9 --- /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 000000000..02617ebe4 --- /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 000000000..6a55508c8 --- /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 000000000..8ba78e8f9 --- /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 000000000..9bc8616d7 --- /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 000000000..47738e842 --- /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 000000000..d0fcd8ee9 --- /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 000000000..a6bfb4524 --- /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 000000000..2de2d6631 --- /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 000000000..d277d0ae8 --- /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 000000000..ef5b83045 --- /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 000000000..2740a3a83 --- /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 000000000..f4127a41e --- /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 000000000..21fd8ba77 --- /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 000000000..bcb5002ec --- /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 000000000..d175359fd --- /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 000000000..e59171da8 --- /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 000000000..399dfd781 --- /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 000000000..b7b941859 --- /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 000000000..9237b8ced --- /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 000000000..9f3eb0fb5 --- /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 000000000..c8315b670 --- /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 000000000..2da5eff7e --- /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 000000000..7eba46418 --- /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 000000000..9605ed8e5 --- /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 000000000..09213603c --- /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 000000000..d96c43378 --- /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 000000000..f93c0cb5f --- /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 000000000..bd3031868 --- /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 000000000..dce5971e3 --- /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 000000000..d004a347c --- /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 000000000..a37c66530 --- /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 000000000..d61c3f15c --- /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 000000000..8b501d6f6 --- /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 000000000..679ef1ff2 --- /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 000000000..a3664cbb4 --- /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 000000000..3ef7ed3de --- /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 000000000..5fc3f70ad --- /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 000000000..e14d0e0ae --- /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 000000000..e29d798e4 --- /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 000000000..d774f9207 --- /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 000000000..a7cf3d102 --- /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 000000000..db6a766cd --- /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 000000000..85d832d2e --- /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 000000000..e37c485c3 --- /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 000000000..ab8095be1 --- /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 000000000..25fcd8f4f --- /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 000000000..4b3264935 --- /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 000000000..4183badf9 --- /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 000000000..6065eaae2 --- /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 000000000..3b909ea74 --- /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 000000000..536d2a5fd --- /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 000000000..5252dc92c --- /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 000000000..de9ed33b0 --- /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 000000000..3fff7ed64 --- /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 000000000..bafa7a29f --- /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 000000000..be9c24447 --- /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 000000000..ea996c09b --- /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 000000000..c8800cd33 --- /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 000000000..d07f67a22 --- /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 000000000..8990c7ee6 --- /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 000000000..b08a0e699 --- /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 000000000..a72990661 --- /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 000000000..558083323 --- /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 000000000..61dd4a235 --- /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 000000000..f9b720c13 --- /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 000000000..95eb25fc0 --- /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 000000000..9361a89bb --- /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 000000000..4dab2bdb0 --- /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 000000000..6e29e6585 --- /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 000000000..cfca48f12 --- /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 000000000..310ca27c1 --- /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 000000000..ff893c0d8 --- /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 000000000..71c440b69 --- /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 000000000..a26569cb2 --- /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 000000000..8dfe63f48 --- /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 000000000..62872b648 --- /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 000000000..3779cf30c --- /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 000000000..9427a6bf9 --- /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 000000000..df58631c9 --- /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 000000000..c58d14eed --- /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 000000000..dac034bd8 --- /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 000000000..16e3d0ccb --- /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 000000000..e8e6b0a5d --- /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 000000000..397e118d0 --- /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 000000000..d2d301b69 --- /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 000000000..e8847ecb7 --- /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 000000000..2c56d5302 --- /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 000000000..5a0ac07f9 --- /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 000000000..54be8e94b --- /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 000000000..adeaac8ae --- /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 000000000..0bb5c42fc --- /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 000000000..1e64b450f --- /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 000000000..f0806d931 --- /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 000000000..644f951e1 --- /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 000000000..c3bd5cc94 --- /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 000000000..81affce09 --- /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 000000000..cd13147e7 --- /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 000000000..0685b421a --- /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 000000000..24bcf34e0 --- /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 000000000..59473ba5c --- /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 000000000..809d2d749 --- /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 000000000..a2670a83d --- /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 000000000..4df2e8a31 --- /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 000000000..15d323a17 --- /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 000000000..535d0d6c7 --- /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 000000000..41fe974fc --- /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 000000000..83ff163a9 --- /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 000000000..f1bb55dcb --- /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 000000000..0b3751e93 --- /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 000000000..a4e8c614b --- /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 000000000..78e809b5a --- /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 000000000..39fb98314 --- /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 000000000..36306b953 --- /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 000000000..f725e45bd --- /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 000000000..642db6c45 --- /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 000000000..5a42118f2 --- /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 000000000..268e0c0ae --- /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 000000000..36f7f2438 --- /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 000000000..ade0da83a --- /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 000000000..1360ee4a8 --- /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 000000000..84edc5e2f --- /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 000000000..3a24d30a7 --- /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 000000000..bc9c69bfb --- /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 000000000..3f27afa1b --- /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 000000000..a1616b9c7 --- /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 000000000..2596631ba --- /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 000000000..258414cd8 --- /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 000000000..06d744e2d --- /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 000000000..b42c36775 --- /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 000000000..19a399162 --- /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 000000000..e65c3488f --- /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 000000000..282ee7fcb --- /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 000000000..bad48dc8a --- /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 000000000..2c528ace9 --- /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 000000000..9679ba2af --- /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 000000000..362ec1c28 --- /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 000000000..037311473 --- /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 000000000..6e70c176f --- /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 000000000..c09a08e01 --- /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 000000000..93729e8a4 --- /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 000000000..72bccc4a3 --- /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 000000000..5e2db0427 --- /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 000000000..7e42c9e64 --- /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 000000000..3b2dd2b77 --- /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 000000000..7f7d07cec --- /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 000000000..51e75d021 --- /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 000000000..ebb7011b2 --- /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 000000000..f8707e145 --- /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 000000000..cc19dde2f --- /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 000000000..873055543 --- /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 000000000..7539f3311 --- /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 000000000..3fffb0638 --- /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 000000000..e20c9af28 --- /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 000000000..d8ebbe598 --- /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 000000000..27809e390 --- /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 000000000..3c5efa12c --- /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 000000000..a59a919cf --- /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 000000000..08f06d116 --- /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 000000000..64b815be3 --- /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 000000000..53ef50507 --- /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 000000000..95f83825f --- /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 000000000..99f6fe88e --- /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 000000000..211c411c9 --- /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 000000000..c79fb7aa7 --- /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 000000000..edee84f49 --- /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 000000000..1f4377c87 --- /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 000000000..cb3ccbddd --- /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 000000000..eb0229cce --- /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 000000000..8fdee6848 --- /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 000000000..d0b8f406f --- /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 000000000..c98c41e8b --- /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 000000000..c5b6d895b --- /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 000000000..edde04428 --- /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 000000000..d04b31582 --- /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 000000000..8efa986e7 --- /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 000000000..30da558ee --- /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 000000000..dd4809251 --- /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 000000000..5c4e8a198 --- /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 000000000..a5de6aee0 --- /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 000000000..e1bacc084 --- /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 000000000..f41c90d35 --- /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 000000000..6dd0674eb --- /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 000000000..10778b831 --- /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 000000000..240c3541e --- /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 000000000..3dea733ca --- /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 000000000..0aea84c93 --- /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 000000000..b22bd6e88 --- /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 000000000..11b22650a --- /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 000000000..a21c3d976 --- /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 000000000..2b0fc0eb1 --- /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 000000000..d092740da --- /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 000000000..325963591 --- /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 000000000..67eaea175 --- /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 000000000..26a100569 --- /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 000000000..5646b759b --- /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 000000000..0d886ddbf --- /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 000000000..1473ebc45 --- /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 000000000..3853871e8 --- /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 000000000..fedc1053c --- /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 000000000..03e5c0eb9 --- /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 000000000..339aa4327 --- /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 000000000..7d288c67e --- /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 000000000..088cf302e --- /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 000000000..6add9ad88 --- /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 000000000..06aa60ea1 --- /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 000000000..edf4c7240 --- /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 000000000..314e179b4 --- /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 000000000..f7184d6ec --- /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 000000000..735f5a729 --- /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 000000000..fb36d6cad --- /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 000000000..885d00276 --- /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 000000000..e4bf991ab --- /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 000000000..3c383b642 --- /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 000000000..65d546030 --- /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 000000000..7249a1a59 --- /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 000000000..f7eecceb2 --- /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 000000000..0064a2647 --- /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 000000000..4eb9a8630 --- /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 000000000..db8037e07 --- /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 000000000..e6c75fe5b --- /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 000000000..a56a2d08c --- /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 000000000..1ce3c046c --- /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 000000000..f8b2289f1 --- /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 000000000..581e13782 --- /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 000000000..f32ca60f8 --- /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 000000000..366f03ff4 --- /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 000000000..0ba5eeb68 --- /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 000000000..6dc3cf069 --- /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 000000000..d2274d781 --- /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 000000000..c91ddb965 --- /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 000000000..f7fbbfd31 --- /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 000000000..c16920366 --- /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 000000000..6283a033f --- /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 000000000..842ebf15b --- /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 000000000..3260fe385 --- /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 000000000..8c9c1db53 --- /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 000000000..5a7259341 --- /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 000000000..c1ac108d2 --- /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 000000000..5fd90f705 --- /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 000000000..59f4a0547 --- /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 000000000..0f9e325db --- /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 000000000..457d16668 --- /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 000000000..ff09c169d --- /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 000000000..ed3dec5d8 --- /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 000000000..4690d9917 --- /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 000000000..cb7f55d17 --- /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 000000000..097f9ead1 --- /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 000000000..df835c9e8 --- /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 000000000..7e03be010 --- /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 000000000..36ed87a33 --- /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 000000000..cc451a9d6 --- /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 000000000..c890ea60f --- /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 000000000..2ee143c29 --- /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 000000000..709e46b36 --- /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 000000000..ac2b55c68 --- /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 000000000..4855654af --- /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 000000000..7ae321e7a --- /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 000000000..16ec4bc98 --- /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 000000000..1910ee2be --- /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 000000000..b89eabf81 --- /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 000000000..d89ce3b35 --- /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 000000000..9a9ee0d94 --- /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 000000000..7cc67f7df --- /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 000000000..c33102705 --- /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 000000000..de8526b76 --- /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 000000000..99744341b --- /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 000000000..ad71b2cb5 --- /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 000000000..875a4bbb3 --- /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 000000000..1a084518c --- /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 000000000..7e27ade8e --- /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 000000000..b394d316e --- /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 000000000..12232cf07 --- /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 000000000..0282bc153 --- /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 000000000..47c13e664 --- /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 000000000..5f5acb3ce --- /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 000000000..f76e9f5bb --- /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 000000000..04542041f --- /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 000000000..e4ae742fa --- /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 000000000..9bb8aa994 --- /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 000000000..46b3e8677 --- /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 000000000..34abbeeda --- /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 000000000..928c29e93 --- /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 000000000..b5121abc2 --- /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 000000000..588b42929 --- /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 000000000..d464c5ed2 --- /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 000000000..d8e79ff0a --- /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 000000000..738d9fa9a --- /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 000000000..81138819c --- /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 000000000..55f177380 --- /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 000000000..f26239dd7 --- /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 000000000..6258769ce --- /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 000000000..36d6840c3 --- /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 000000000..566c578f3 --- /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 000000000..0ab1308c9 --- /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 000000000..9f06efa60 --- /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 000000000..15adfdb33 --- /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 000000000..4df356e28 --- /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 000000000..6efa3e4da --- /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 000000000..2afa3cd71 --- /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 000000000..9395d4a23 --- /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 000000000..13a7aebad --- /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 000000000..a374e8b85 --- /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 000000000..b89a9bfff --- /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 000000000..6abc908f6 --- /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 000000000..c333c9bf4 --- /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 000000000..4ce56c23d --- /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 000000000..988d31f89 --- /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 000000000..f3efbd4b0 --- /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 000000000..406fc47b0 --- /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 000000000..966c6c52c --- /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 000000000..fbaa0befa --- /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 000000000..1a94e3844 --- /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 000000000..3d17ad5e6 --- /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 000000000..eb27bfd0d --- /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 000000000..2317e2935 --- /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 000000000..e08c68d0a --- /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 000000000..e07d933fa --- /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 000000000..e6af92b55 --- /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 000000000..1cf980fe9 --- /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 000000000..b947d1a89 --- /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 000000000..b3b0b12dd --- /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 000000000..99351679f --- /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 000000000..354f50f17 --- /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 000000000..81dcb520f --- /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 000000000..dd743f1e7 --- /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 000000000..4bc838b12 --- /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 000000000..fc4dfffc4 --- /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 000000000..76b8ecaa6 --- /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 000000000..b47b448a3 --- /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 000000000..762039b11 --- /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 000000000..c588dee8a --- /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 000000000..53964ece4 --- /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 000000000..152bb0a24 --- /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 000000000..1488d4d3e --- /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 000000000..d94167d7e --- /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 000000000..134384080 --- /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 000000000..55aace4b8 --- /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 000000000..0f04b83b1 --- /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 000000000..5c6e46048 --- /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 000000000..16847a6d3 --- /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 000000000..7f2e86f62 --- /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 000000000..b0fe06f9f --- /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 000000000..55c3a0fdb --- /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 000000000..550a7e1b6 --- /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 000000000..57fffeece --- /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 000000000..2eb1ce8ad --- /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 000000000..d50271b8d --- /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 000000000..b7d73e06a --- /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 000000000..11af7e311 --- /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 000000000..dfd498fa6 --- /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 000000000..95f83855d --- /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 000000000..8fadfcd08 --- /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 000000000..23b31e64d --- /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 000000000..2a8efc8d2 --- /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 000000000..4592b7d83 --- /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 000000000..77c22838a --- /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 000000000..b074ba515 --- /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 000000000..3e63d87a6 --- /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 000000000..b03f666b4 --- /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 000000000..164aa30a8 --- /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 000000000..32d1bd35c --- /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 000000000..e349b8a54 --- /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 000000000..3173d71a5 --- /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 000000000..e2a33a2c5 --- /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 000000000..5342899e1 --- /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 000000000..e484cbc66 --- /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 000000000..331de4656 --- /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 000000000..a9f54dcf3 --- /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 000000000..7a755b920 --- /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 000000000..e74172d7e --- /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 000000000..8e72f3aad --- /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 000000000..bed5d7653 --- /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 000000000..d5c12e064 --- /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 000000000..502e892a1 --- /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 000000000..d14ebbb65 --- /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 000000000..8e30523f3 --- /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 000000000..7901fe901 --- /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 000000000..642d4bed0 --- /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 000000000..6d3854dbd --- /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 000000000..831cebc9b --- /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 000000000..ef9ff957d --- /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 000000000..ad4353569 --- /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 000000000..530024121 --- /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 000000000..12636221c --- /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 000000000..70fa11b9c --- /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 000000000..ac47bf667 --- /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 000000000..7948874d1 --- /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 000000000..9da8f8e87 --- /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 000000000..c1d9c7a4e --- /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 000000000..aaaed904d --- /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 000000000..e7ab4a773 --- /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 000000000..5fc38d437 --- /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 000000000..8c5d2d647 --- /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 000000000..fad2c8ccb --- /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 000000000..c50f4a550 --- /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 000000000..da7851507 --- /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 000000000..78d6ac74c --- /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 000000000..43cfa8ca9 --- /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 000000000..4c1c9786f --- /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 000000000..7cd6ddc2c --- /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 000000000..5571c69e6 --- /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 000000000..3dfa66a43 --- /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 000000000..b199bb278 --- /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 000000000..2da76cf65 --- /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 000000000..9fdecd062 --- /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 000000000..5f3c66301 --- /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 000000000..1731d7413 --- /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 000000000..b8cf22233 --- /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 000000000..0c64d9fb1 --- /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 000000000..7b0a188cc --- /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 000000000..71b93d09e --- /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 000000000..9814d2a07 --- /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 000000000..dbfc75c99 --- /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 000000000..93baed59d --- /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 000000000..02a518f3a --- /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 000000000..dbf0b19cd --- /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 000000000..d313f91b8 --- /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 000000000..57f64faa6 --- /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 000000000..2c0265261 --- /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 000000000..439a85b47 --- /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 000000000..989f1f57c --- /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 000000000..26714ee1b --- /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 000000000..39e696943 --- /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 000000000..0960cbe04 --- /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 000000000..68699781e --- /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 000000000..31498ceba --- /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 000000000..7ac7cc857 --- /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 000000000..3e9782098 --- /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 000000000..8849baa70 --- /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 000000000..08d35aaf9 --- /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 000000000..1afbfd645 --- /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 000000000..1ab39343f --- /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 000000000..bccc2757e --- /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 000000000..e97c14266 --- /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 000000000..7c728eaef --- /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 000000000..36c415503 --- /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 000000000..d5147c15b --- /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 000000000..48a1d5497 --- /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 000000000..32497c5e4 --- /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 000000000..caba64767 --- /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 000000000..9832e8429 --- /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 000000000..e175c160d --- /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 000000000..11ce49993 --- /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 000000000..9f3d83670 --- /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 000000000..3a9d25d2a --- /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 000000000..b6efcce59 --- /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 000000000..2f3d34e1d --- /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 000000000..a35c37287 --- /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 000000000..d06f151ae --- /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 000000000..6be2ed32f --- /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 000000000..56e69dbee --- /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 000000000..7e95a0c15 --- /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 000000000..bc6c8d955 --- /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 000000000..d7318b35c --- /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 000000000..5bd02084c --- /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 000000000..9b72b3e9b --- /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 000000000..09645b09b --- /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 000000000..c2fbf7451 --- /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 000000000..a147f5042 --- /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 000000000..f77ebb357 --- /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 000000000..bec58b3c7 --- /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 000000000..fc9225e80 --- /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 000000000..4942acaee --- /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 000000000..e7adcc7b2 --- /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 000000000..4793ec4d7 --- /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 000000000..a383c113b --- /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 000000000..042427305 --- /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 000000000..111492755 --- /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 000000000..1b2712212 --- /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 000000000..a4e52b087 --- /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 000000000..6bce75836 --- /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 000000000..802676d48 --- /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 000000000..f6d235d08 --- /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 000000000..c261bbcf9 --- /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 000000000..ab396d4a7 --- /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 000000000..49dd58b48 --- /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 000000000..6a612a910 --- /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 000000000..dda2807af --- /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 000000000..19f606326 --- /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 000000000..bf4cac4d2 --- /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 000000000..dd9cb631a --- /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 000000000..f13e0cc98 --- /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 000000000..319307da7 --- /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 000000000..8be76ed0d --- /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 000000000..0911b5e13 --- /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 000000000..f35d974ad --- /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 000000000..7885533d4 --- /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 000000000..d25eac8c2 --- /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 000000000..a89302176 --- /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 000000000..e61d06ad6 --- /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 000000000..fdb2598a5 --- /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 000000000..cfa5cd0c4 --- /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 000000000..0cfb3cb45 --- /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 000000000..bf33fde43 --- /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 000000000..9d8097799 --- /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 000000000..d6f5c6a3d --- /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 000000000..07c87b2a0 --- /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 000000000..233b3f671 --- /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 000000000..f77d4887a --- /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 000000000..2f8e7be7d --- /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 000000000..ac0e74779 --- /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 000000000..5fb43a962 --- /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 000000000..0ea9d2704 --- /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 000000000..927cffafa --- /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 000000000..7c001d53e --- /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 000000000..1d558a761 --- /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 000000000..8e0e95961 --- /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 000000000..7c2a4e3c6 --- /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 000000000..abaa3ce75 --- /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 000000000..b78d78052 --- /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 000000000..c87384217 --- /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 000000000..67bbe79ca --- /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 000000000..1b35828b3 --- /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 000000000..e1143503d --- /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 000000000..476aa2caa --- /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 000000000..77e47e3a4 --- /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 000000000..9d534140c --- /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 000000000..c8c63ab05 --- /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 000000000..548c642f0 --- /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 000000000..31f8c6138 --- /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 000000000..99892ab1e --- /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 000000000..6cc47c596 --- /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 000000000..2183007d4 --- /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 000000000..a6d0f212d --- /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 000000000..043e1b01a --- /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 000000000..59edc4831 --- /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 000000000..66aa39630 --- /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 000000000..54e78591f --- /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 000000000..c12078aec --- /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 000000000..66097ccc8 --- /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 000000000..f25ddf4ad --- /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 000000000..a3a30c7a8 --- /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 000000000..c7fc1376f --- /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 000000000..c98353ed3 --- /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 000000000..b4b450fb4 --- /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 000000000..5be5da262 --- /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 000000000..df62bf0ad --- /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 000000000..fe1848423 --- /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 000000000..d514f5e64 --- /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 000000000..f76720e1c --- /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 000000000..f24c1fe86 --- /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 000000000..352d8a211 --- /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 000000000..a8f73356c --- /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 000000000..7c98365b8 --- /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 000000000..af1f7a7b2 --- /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 000000000..34b7eb463 --- /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 000000000..3da318cc1 --- /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 000000000..3e5b817bd --- /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 000000000..e78fb6940 --- /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 000000000..308ad00cf --- /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 000000000..59cc9f46a --- /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 000000000..548b90d4e --- /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 000000000..acb5d0fc8 --- /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 000000000..06325066a --- /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 000000000..69ee5dba1 --- /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 000000000..034874b23 --- /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 000000000..da26f3b3b --- /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 000000000..5b4c8a98d --- /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 000000000..d48ce5a55 --- /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 000000000..6430002fb --- /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 000000000..138ea91e4 --- /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 000000000..dfca2a295 --- /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 000000000..d570bd734 --- /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 000000000..bb0e4eed6 --- /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 000000000..bafb5c46c --- /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 000000000..8f4e7898c --- /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 000000000..f9dea4ef8 --- /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 000000000..d5f516776 --- /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 000000000..bba760617 --- /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 000000000..b23c68e0e --- /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 000000000..21a34f5e7 --- /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 000000000..23276c7bb --- /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 000000000..ec7c8f2b6 --- /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 000000000..a60dffee5 --- /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 000000000..3cdc40946 --- /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 000000000..f3f1f0bf2 --- /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 000000000..a8fa19b24 --- /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 000000000..31592ec20 --- /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 000000000..610c1fe5b --- /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 000000000..6165449a0 --- /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 000000000..0b040c3c4 --- /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 000000000..2c3a5fff0 --- /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 000000000..24dfd2d80 --- /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 000000000..b58167c5f --- /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 000000000..d8a2c22ae --- /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 000000000..853b07de1 --- /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 000000000..2d5265e6c --- /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 000000000..504c48139 --- /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 000000000..f02310a83 --- /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 000000000..2af2d4e4b --- /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 000000000..ed1c037af --- /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 000000000..1ae53fa60 --- /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 000000000..9adcd13e8 --- /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 000000000..00cdace61 --- /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 000000000..5b6d7a37a --- /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 000000000..f864e76f0 --- /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 000000000..c6754f2a5 --- /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 000000000..30b2690ba --- /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 000000000..94439617c --- /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 000000000..fe10b9c25 --- /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 000000000..0d18a98e9 --- /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 000000000..8a83a7211 --- /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 000000000..b61e93b46 --- /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 000000000..b95bf8a11 --- /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 000000000..ef8ab8dbe --- /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 000000000..4752d3a1c --- /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 000000000..a5909f186 --- /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 000000000..6550474b0 --- /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 000000000..b3a3ca81e --- /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 000000000..16e191b60 --- /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 000000000..5df6e5e87 --- /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 000000000..25b898915 --- /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 000000000..bcafbb47b --- /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 000000000..0b238b435 --- /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 000000000..11dc7f612 --- /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 000000000..92e71347b --- /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 000000000..7164af46f --- /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 000000000..f68af6412 --- /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 000000000..91ad0f18b --- /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 000000000..5e5b3049a --- /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 000000000..4aa81470d --- /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 000000000..2a54aa26b --- /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 000000000..c7092678e --- /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 000000000..295b70be6 --- /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 000000000..62278f3f8 --- /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 000000000..c5bc1dadb --- /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 000000000..3f863512c --- /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 000000000..cad11f703 --- /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 000000000..6b21cf2b8 --- /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 000000000..305758a5a --- /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 000000000..b47ee4db4 --- /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 000000000..0e1ab0c1c --- /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 000000000..1cb570e6c --- /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 000000000..829e2010c --- /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 000000000..7ed969de3 --- /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 000000000..ecb4f59b5 --- /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 000000000..19914deac --- /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 000000000..afccd9efc --- /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 000000000..eaaa4a318 --- /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 000000000..f0d0e39d0 --- /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 000000000..e0d58ca30 --- /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 000000000..cf2c517c7 --- /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 000000000..61ff873e2 --- /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 000000000..74604013b --- /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 000000000..61edc32f7 --- /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 000000000..1e67c4970 --- /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 000000000..af71aca6d --- /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 000000000..b6f55af76 --- /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 000000000..65648c055 --- /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 000000000..0bc42e896 --- /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 000000000..b595df35c --- /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 000000000..67b217d38 --- /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 000000000..ffc505b2c --- /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 000000000..e5bc5870f --- /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 000000000..0e61ced79 --- /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 000000000..3965f57e1 --- /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 000000000..af1bf5b6a --- /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 000000000..07f28497f --- /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 000000000..8fc9e3be4 --- /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 000000000..72dbd80f6 --- /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 000000000..ca604d288 --- /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 000000000..0203c6bbc --- /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 000000000..0bff1742c --- /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 000000000..edc1c1def --- /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 000000000..21cff8c2a --- /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 000000000..962807a4a --- /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 000000000..5a2a49a25 --- /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 000000000..245afbca1 --- /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 000000000..72a9ee573 --- /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 000000000..263b42c8d --- /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 000000000..c13c207fc --- /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 000000000..fa2e3d586 --- /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 000000000..ed985e6af --- /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 000000000..dbffc573b --- /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 000000000..f68d699e8 --- /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 000000000..8c9733439 --- /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 000000000..36ec2a56f --- /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 000000000..512bf064d --- /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 000000000..03f4a05f3 --- /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 000000000..111c02c6d --- /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 000000000..67dc36169 --- /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 000000000..715b293fa --- /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 000000000..bb755e5e4 --- /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 000000000..776360012 --- /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 000000000..cb933a491 --- /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 000000000..665542d92 --- /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 000000000..0db068d18 --- /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 000000000..d1d7f2dc5 --- /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 000000000..de633d68f --- /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 000000000..dfae159fa --- /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 000000000..04ee41ba1 --- /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 000000000..77cb2d1dc --- /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 000000000..26d13a170 --- /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 000000000..e37a356f9 --- /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 000000000..7d26a870c --- /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 000000000..f8657ad5b --- /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 000000000..fbdd2d87e --- /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 000000000..4a94c7f5c --- /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 000000000..106efd651 --- /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 000000000..cbc185180 --- /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 000000000..f64f30691 --- /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 000000000..e6df6408b --- /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 000000000..eab9b686d --- /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 000000000..e4a41a51b --- /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 000000000..e6a43a89f --- /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 000000000..3bf211f82 --- /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 000000000..96c05e259 --- /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 000000000..12e517955 --- /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 000000000..bdf9f1976 --- /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 000000000..f65a7a075 --- /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 000000000..3337c66a1 --- /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 000000000..b1a0288e2 --- /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 000000000..3030edbf5 --- /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 000000000..e42d86b1b --- /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 000000000..a5dd2c875 --- /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 000000000..ca973d288 --- /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 000000000..f20712981 --- /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 000000000..3c651b121 --- /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 000000000..6cd33a44c --- /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 000000000..27d5151b2 --- /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 000000000..ffe8e2f68 --- /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 000000000..09cd00b82 --- /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 000000000..b3dea71b2 --- /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 000000000..ae2774250 --- /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 000000000..24aad1ac5 --- /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 000000000..04c8b07f7 --- /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 000000000..6e29f9aed --- /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 000000000..2ebc2de79 --- /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 000000000..3296a6e60 --- /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 000000000..3ffa5b0f6 --- /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 000000000..60986c1d3 --- /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 000000000..9349da8e5 --- /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 000000000..07861aa00 --- /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 000000000..74e0da638 --- /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 000000000..c590a56f9 --- /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 000000000..59baaa84f --- /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 000000000..89cf3f743 --- /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 000000000..3a59be46d --- /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 000000000..bb4947dfa --- /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 000000000..eeadaff8e --- /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 000000000..a8610b8b9 --- /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 000000000..42928ab6c --- /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 000000000..c007ff715 --- /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 000000000..4c55a0d98 --- /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 000000000..5432a34c3 --- /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 000000000..ddb8a3a10 --- /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 000000000..3a5f35f50 --- /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 000000000..ab868a873 --- /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 000000000..c082e360f --- /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 000000000..1e636974a --- /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 000000000..fbfda3929 --- /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 000000000..4e725eed9 --- /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 000000000..04863aae4 --- /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 000000000..e641278dc --- /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 000000000..2d3633953 --- /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 000000000..dcdf3928c --- /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 000000000..c28bb49da --- /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 000000000..d35e7a339 --- /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 000000000..175eab5bc --- /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 000000000..b3853af46 --- /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 000000000..0870bf6d7 --- /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 000000000..7d22372a6 --- /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); +}