forge
Explore
Log in

Don't you dare go Hollow

Initial WIP floating window implementation

Browse files at this commit

c5fffd6e2c48aa7fb8b45b8bdcd972bbd8ce900bIvan MolodetskikhParent: 951f63b

300 changed files +2020 -419

Showing the first 300 files; this commit changes more.

niri-config/src/lib.rsmodified+15 -0
@@ -983,6 +983,8 @@ pub struct WindowRule {
983 pub open_maximized: Option<bool>,983 pub open_maximized: Option<bool>,
984 #[knuffel(child, unwrap(argument))]984 #[knuffel(child, unwrap(argument))]
985 pub open_fullscreen: Option<bool>,985 pub open_fullscreen: Option<bool>,
986+ #[knuffel(child, unwrap(argument))]
987+ pub open_floating: Option<bool>,
986 988
987 // Rules applied dynamically.989 // Rules applied dynamically.
988 #[knuffel(child, unwrap(argument))]990 #[knuffel(child, unwrap(argument))]
@@ -1254,6 +1256,10 @@ pub enum Action {
1254 MoveWorkspaceToMonitorRight,1256 MoveWorkspaceToMonitorRight,
1255 MoveWorkspaceToMonitorDown,1257 MoveWorkspaceToMonitorDown,
1256 MoveWorkspaceToMonitorUp,1258 MoveWorkspaceToMonitorUp,
1259+ ToggleWindowFloating,
1260+ #[knuffel(skip)]
1261+ ToggleWindowFloatingById(u64),
1262+ SwitchFocusBetweenFloatingAndTiling,
1257 }1263 }
1258 1264
1259 impl From<niri_ipc::Action> for Action {1265 impl From<niri_ipc::Action> for Action {
@@ -1386,6 +1392,13 @@ impl From<niri_ipc::Action> for Action {
1386 niri_ipc::Action::ToggleDebugTint {} => Self::ToggleDebugTint,1392 niri_ipc::Action::ToggleDebugTint {} => Self::ToggleDebugTint,
1387 niri_ipc::Action::DebugToggleOpaqueRegions {} => Self::DebugToggleOpaqueRegions,1393 niri_ipc::Action::DebugToggleOpaqueRegions {} => Self::DebugToggleOpaqueRegions,
1388 niri_ipc::Action::DebugToggleDamage {} => Self::DebugToggleDamage,1394 niri_ipc::Action::DebugToggleDamage {} => Self::DebugToggleDamage,
1395+ niri_ipc::Action::ToggleWindowFloating { id: None } => Self::ToggleWindowFloating,
1396+ niri_ipc::Action::ToggleWindowFloating { id: Some(id) } => {
1397+ Self::ToggleWindowFloatingById(id)
1398+ }
1399+ niri_ipc::Action::SwitchFocusBetweenFloatingAndTiling {} => {
1400+ Self::SwitchFocusBetweenFloatingAndTiling
1401+ }
1389 }1402 }
1390 }1403 }
1391 }1404 }
@@ -3128,6 +3141,7 @@ mod tests {
3128 open-on-output "eDP-1"3141 open-on-output "eDP-1"
3129 open-maximized true3142 open-maximized true
3130 open-fullscreen false3143 open-fullscreen false
3144+ open-floating false
3131 3145
3132 focus-ring {3146 focus-ring {
3133 off3147 off
@@ -3406,6 +3420,7 @@ mod tests {
3406 open_on_output: Some("eDP-1".to_owned()),3420 open_on_output: Some("eDP-1".to_owned()),
3407 open_maximized: Some(true),3421 open_maximized: Some(true),
3408 open_fullscreen: Some(false),3422 open_fullscreen: Some(false),
3423+ open_floating: Some(false),
3409 focus_ring: BorderRule {3424 focus_ring: BorderRule {
3410 off: true,3425 off: true,
3411 width: Some(FloatOrInt(3.)),3426 width: Some(FloatOrInt(3.)),
niri-ipc/src/lib.rsmodified+10 -0
@@ -430,6 +430,16 @@ pub enum Action {
430 DebugToggleOpaqueRegions {},430 DebugToggleOpaqueRegions {},
431 /// Toggle visualization of output damage.431 /// Toggle visualization of output damage.
432 DebugToggleDamage {},432 DebugToggleDamage {},
433+ /// Move the focused window between the floating and the tiling layout.
434+ ToggleWindowFloating {
435+ /// Id of the window to move.
436+ ///
437+ /// If `None`, uses the focused window.
438+ #[cfg_attr(feature = "clap", arg(long))]
439+ id: Option<u64>,
440+ },
441+ /// Toggles the focus between the floating and the tiling layout.
442+ SwitchFocusBetweenFloatingAndTiling {},
433 }443 }
434 444
435 /// Change in window or column size.445 /// Change in window or column size.
niri-visual-tests/src/cases/layout.rsmodified+18 -5
@@ -159,11 +159,20 @@ impl Layout {
159 159
160 fn add_window(&mut self, mut window: TestWindow, width: Option<ColumnWidth>) {160 fn add_window(&mut self, mut window: TestWindow, width: Option<ColumnWidth>) {
161 let ws = self.layout.active_workspace().unwrap();161 let ws = self.layout.active_workspace().unwrap();
162- window.request_size(ws.new_window_size(width, window.rules()), false, None);162+ window.request_size(
163+ ws.new_window_size(width, false, window.rules()),
164+ false,
165+ None,
166+ );
163 window.communicate();167 window.communicate();
164 168
165- self.layout169+ self.layout.add_window(
166- .add_window(window.clone(), width, false, ActivateWindow::default());170+ window.clone(),
171+ width,
172+ false,
173+ false,
174+ ActivateWindow::default(),
175+ );
167 self.windows.push(window);176 self.windows.push(window);
168 }177 }
169 178
@@ -174,11 +183,15 @@ impl Layout {
174 width: Option<ColumnWidth>,183 width: Option<ColumnWidth>,
175 ) {184 ) {
176 let ws = self.layout.active_workspace().unwrap();185 let ws = self.layout.active_workspace().unwrap();
177- window.request_size(ws.new_window_size(width, window.rules()), false, None);186+ window.request_size(
187+ ws.new_window_size(width, false, window.rules()),
188+ false,
189+ None,
190+ );
178 window.communicate();191 window.communicate();
179 192
180 self.layout193 self.layout
181- .add_window_right_of(right_of.id(), window.clone(), width, false);194+ .add_window_right_of(right_of.id(), window.clone(), width, false, false);
182 self.windows.push(window);195 self.windows.push(window);
183 }196 }
184 197
resources/default-config.kdlmodified+4 -0
@@ -474,6 +474,10 @@ binds {
474 Mod+Shift+Minus { set-window-height "-10%"; }474 Mod+Shift+Minus { set-window-height "-10%"; }
475 Mod+Shift+Equal { set-window-height "+10%"; }475 Mod+Shift+Equal { set-window-height "+10%"; }
476 476
477+ // Move the focused window between the floating and the tiling layout.
478+ Mod+V { toggle-window-floating; }
479+ Mod+Shift+V { switch-focus-between-floating-and-tiling; }
480+
477 // Actions to switch layouts.481 // Actions to switch layouts.
478 // Note: if you uncomment these, make sure you do NOT have482 // Note: if you uncomment these, make sure you do NOT have
479 // a matching layout switch hotkey configured in xkb options above.483 // a matching layout switch hotkey configured in xkb options above.
src/handlers/compositor.rsmodified+21 -6
@@ -119,6 +119,11 @@ impl CompositorHandler for State {
119 (ResolvedWindowRules::empty(), None, false, None, None)119 (ResolvedWindowRules::empty(), None, false, None, None)
120 };120 };
121 121
122+ // The GTK about dialog sets min/max size after the initial configure but
123+ // before mapping, so we need to compute open_floating at the last possible
124+ // moment, that is here.
125+ let is_floating = rules.compute_open_floating(toplevel);
126+
122 let parent = toplevel127 let parent = toplevel
123 .parent()128 .parent()
124 .and_then(|parent| self.niri.layout.find_window_and_output(&parent))129 .and_then(|parent| self.niri.layout.find_window_and_output(&parent))
@@ -160,15 +165,20 @@ impl CompositorHandler for State {
160 //165 //
161 // FIXME: do we want to use activate here? How do we want things to behave166 // FIXME: do we want to use activate here? How do we want things to behave
162 // exactly?167 // exactly?
163- self.niri168+ self.niri.layout.add_window_right_of(
164- .layout169+ &p,
165- .add_window_right_of(&p, mapped, width, is_full_width)170+ mapped,
171+ width,
172+ is_full_width,
173+ is_floating,
174+ )
166 } else if let Some(workspace_name) = &workspace_name {175 } else if let Some(workspace_name) = &workspace_name {
167 self.niri.layout.add_window_to_named_workspace(176 self.niri.layout.add_window_to_named_workspace(
168 workspace_name,177 workspace_name,
169 mapped,178 mapped,
170 width,179 width,
171 is_full_width,180 is_full_width,
181+ is_floating,
172 activate,182 activate,
173 )183 )
174 } else if let Some(output) = &output {184 } else if let Some(output) = &output {
@@ -177,13 +187,18 @@ impl CompositorHandler for State {
177 mapped,187 mapped,
178 width,188 width,
179 is_full_width,189 is_full_width,
190+ is_floating,
180 activate,191 activate,
181 );192 );
182 Some(output)193 Some(output)
183 } else {194 } else {
184- self.niri195+ self.niri.layout.add_window(
185- .layout196+ mapped,
186- .add_window(mapped, width, is_full_width, activate)197+ width,
198+ is_full_width,
199+ is_floating,
200+ activate,
201+ )
187 };202 };
188 203
189 if let Some(output) = output.cloned() {204 if let Some(output) = output.cloned() {
src/handlers/xdg_shell.rsmodified+10 -3
@@ -459,7 +459,7 @@ impl XdgShellHandler for State {
459 toplevel.with_pending_state(|state| {459 toplevel.with_pending_state(|state| {
460 state.states.set(xdg_toplevel::State::Fullscreen);460 state.states.set(xdg_toplevel::State::Fullscreen);
461 });461 });
462- ws.configure_new_window(&unmapped.window, None, rules);462+ ws.configure_new_window(&unmapped.window, None, false, rules);
463 }463 }
464 464
465 // We already sent the initial configure, so we need to reconfigure.465 // We already sent the initial configure, so we need to reconfigure.
@@ -553,7 +553,13 @@ impl XdgShellHandler for State {
553 } else {553 } else {
554 *width554 *width
555 };555 };
556- ws.configure_new_window(&unmapped.window, configure_width, rules);556+ let is_floating = rules.compute_open_floating(&toplevel);
557+ ws.configure_new_window(
558+ &unmapped.window,
559+ configure_width,
560+ is_floating,
561+ rules,
562+ );
557 }563 }
558 564
559 // We already sent the initial configure, so we need to reconfigure.565 // We already sent the initial configure, so we need to reconfigure.
@@ -815,6 +821,7 @@ impl State {
815 821
816 let mut width = None;822 let mut width = None;
817 let is_full_width = rules.open_maximized.unwrap_or(false);823 let is_full_width = rules.open_maximized.unwrap_or(false);
824+ let is_floating = rules.compute_open_floating(toplevel);
818 825
819 // Tell the surface the preferred size and bounds for its likely output.826 // Tell the surface the preferred size and bounds for its likely output.
820 let ws = rules827 let ws = rules
@@ -843,7 +850,7 @@ impl State {
843 } else {850 } else {
844 width851 width
845 };852 };
846- ws.configure_new_window(window, configure_width, &rules);853+ ws.configure_new_window(window, configure_width, is_floating, &rules);
847 }854 }
848 855
849 // If the user prefers no CSD, it's a reasonable assumption that they would prefer to get856 // If the user prefers no CSD, it's a reasonable assumption that they would prefer to get
src/input/mod.rsmodified+19 -0
@@ -1294,6 +1294,25 @@ impl State {
1294 }1294 }
1295 }1295 }
1296 }1296 }
1297+ Action::ToggleWindowFloating => {
1298+ self.niri.layout.toggle_window_floating(None);
1299+ // FIXME: granular
1300+ self.niri.queue_redraw_all();
1301+ }
1302+ Action::ToggleWindowFloatingById(id) => {
1303+ let window = self.niri.layout.windows().find(|(_, m)| m.id().get() == id);
1304+ let window = window.map(|(_, m)| m.window.clone());
1305+ if let Some(window) = window {
1306+ self.niri.layout.toggle_window_floating(Some(&window));
1307+ // FIXME: granular
1308+ self.niri.queue_redraw_all();
1309+ }
1310+ }
1311+ Action::SwitchFocusBetweenFloatingAndTiling => {
1312+ self.niri.layout.switch_focus_floating_tiling();
1313+ // FIXME: granular
1314+ self.niri.queue_redraw_all();
1315+ }
1297 }1316 }
1298 }1317 }
1299 1318
src/layout/floating.rsadded+815 -0
@@ -0,0 +1,815 @@
1+use std::cmp::{max, min};
2+use std::iter::zip;
3+use std::rc::Rc;
4+
5+use niri_ipc::SizeChange;
6+use smithay::backend::renderer::gles::GlesRenderer;
7+use smithay::utils::{Logical, Point, Rectangle, Scale, Serial, Size};
8+
9+use super::closing_window::{ClosingWindow, ClosingWindowRenderElement};
10+use super::scrolling::ColumnWidth;
11+use super::tile::{Tile, TileRenderElement, TileRenderSnapshot};
12+use super::workspace::InteractiveResize;
13+use super::{ConfigureIntent, InteractiveResizeData, LayoutElement, Options, RemovedTile};
14+use crate::animation::{Animation, Clock};
15+use crate::niri_render_elements;
16+use crate::render_helpers::renderer::NiriRenderer;
17+use crate::render_helpers::RenderTarget;
18+use crate::utils::transaction::TransactionBlocker;
19+use crate::utils::ResizeEdge;
20+use crate::window::ResolvedWindowRules;
21+
22+/// Space for floating windows.
23+#[derive(Debug)]
24+pub struct FloatingSpace<W: LayoutElement> {
25+ /// Tiles in top-to-bottom order.
26+ tiles: Vec<Tile<W>>,
27+
28+ /// Extra per-tile data.
29+ data: Vec<Data>,
30+
31+ /// Id of the active window.
32+ ///
33+ /// The active window is not necessarily the topmost window. Focus-follows-mouse should
34+ /// activate a window, but not bring it to the top, because that's very annoying.
35+ ///
36+ /// This is always set to `Some()` when `tiles` isn't empty.
37+ active_window_id: Option<W::Id>,
38+
39+ /// Ongoing interactive resize.
40+ interactive_resize: Option<InteractiveResize<W>>,
41+
42+ /// Windows in the closing animation.
43+ closing_windows: Vec<ClosingWindow>,
44+
45+ /// Working area for this space.
46+ working_area: Rectangle<f64, Logical>,
47+
48+ /// Scale of the output the space is on (and rounds its sizes to).
49+ scale: f64,
50+
51+ /// Clock for driving animations.
52+ clock: Clock,
53+
54+ /// Configurable properties of the layout.
55+ options: Rc<Options>,
56+}
57+
58+niri_render_elements! {
59+ FloatingSpaceRenderElement<R> => {
60+ Tile = TileRenderElement<R>,
61+ ClosingWindow = ClosingWindowRenderElement,
62+ }
63+}
64+
65+/// Size-relative units.
66+struct SizeFrac;
67+
68+/// Extra per-tile data.
69+#[derive(Debug, Clone, Copy, PartialEq)]
70+struct Data {
71+ /// Position relative to the working area.
72+ pos: Point<f64, SizeFrac>,
73+
74+ /// Cached position in logical coordinates.
75+ ///
76+ /// Not rounded to physical pixels.
77+ logical_pos: Point<f64, Logical>,
78+
79+ /// Cached actual size of the tile.
80+ size: Size<f64, Logical>,
81+
82+ /// Working area used for conversions.
83+ working_area: Rectangle<f64, Logical>,
84+}
85+
86+impl Data {
87+ pub fn new<W: LayoutElement>(
88+ working_area: Rectangle<f64, Logical>,
89+ tile: &Tile<W>,
90+ logical_pos: Point<f64, Logical>,
91+ ) -> Self {
92+ let mut rv = Self {
93+ pos: Point::default(),
94+ logical_pos: Point::default(),
95+ size: Size::default(),
96+ working_area,
97+ };
98+ rv.update(tile);
99+ rv.set_logical_pos(logical_pos);
100+ rv
101+ }
102+
103+ fn recompute_logical_pos(&mut self) {
104+ let mut logical_pos = Point::from((self.pos.x, self.pos.y));
105+ logical_pos.x *= self.working_area.size.w;
106+ logical_pos.y *= self.working_area.size.h;
107+ logical_pos += self.working_area.loc;
108+ self.logical_pos = logical_pos;
109+ }
110+
111+ pub fn update_config(&mut self, working_area: Rectangle<f64, Logical>) {
112+ if self.working_area == working_area {
113+ return;
114+ }
115+
116+ self.working_area = working_area;
117+ self.recompute_logical_pos();
118+ }
119+
120+ pub fn update<W: LayoutElement>(&mut self, tile: &Tile<W>) {
121+ self.size = tile.tile_size();
122+ }
123+
124+ pub fn set_logical_pos(&mut self, logical_pos: Point<f64, Logical>) {
125+ let pos = logical_pos - self.working_area.loc;
126+ let mut pos = Point::from((pos.x, pos.y));
127+ pos.x /= f64::max(self.working_area.size.w, 1.0);
128+ pos.y /= f64::max(self.working_area.size.h, 1.0);
129+
130+ self.pos = pos;
131+
132+ // This should get close to the same result as what we started with.
133+ self.recompute_logical_pos();
134+ }
135+
136+ #[cfg(test)]
137+ fn verify_invariants(&self) {
138+ let mut temp = *self;
139+ temp.recompute_logical_pos();
140+ assert_eq!(
141+ self.logical_pos, temp.logical_pos,
142+ "cached logical pos must be up to date"
143+ );
144+ }
145+}
146+
147+impl<W: LayoutElement> FloatingSpace<W> {
148+ pub fn new(
149+ working_area: Rectangle<f64, Logical>,
150+ scale: f64,
151+ clock: Clock,
152+ options: Rc<Options>,
153+ ) -> Self {
154+ Self {
155+ tiles: Vec::new(),
156+ data: Vec::new(),
157+ active_window_id: None,
158+ interactive_resize: None,
159+ closing_windows: Vec::new(),
160+ working_area,
161+ scale,
162+ clock,
163+ options,
164+ }
165+ }
166+
167+ pub fn update_config(
168+ &mut self,
169+ working_area: Rectangle<f64, Logical>,
170+ scale: f64,
171+ options: Rc<Options>,
172+ ) {
173+ for (tile, data) in zip(&mut self.tiles, &mut self.data) {
174+ tile.update_config(scale, options.clone());
175+ data.update(tile);
176+ data.update_config(working_area);
177+ }
178+
179+ self.working_area = working_area;
180+ self.scale = scale;
181+ self.options = options;
182+ }
183+
184+ pub fn update_shaders(&mut self) {
185+ for tile in &mut self.tiles {
186+ tile.update_shaders();
187+ }
188+ }
189+
190+ pub fn advance_animations(&mut self) {
191+ for tile in &mut self.tiles {
192+ tile.advance_animations();
193+ }
194+
195+ self.closing_windows.retain_mut(|closing| {
196+ closing.advance_animations();
197+ closing.are_animations_ongoing()
198+ });
199+ }
200+
201+ pub fn are_animations_ongoing(&self) -> bool {
202+ self.tiles.iter().any(Tile::are_animations_ongoing) || !self.closing_windows.is_empty()
203+ }
204+
205+ pub fn update_render_elements(&mut self, is_active: bool, view_rect: Rectangle<f64, Logical>) {
206+ let active = self.active_window_id.clone();
207+ for (tile, offset) in self.tiles_with_offsets_mut() {
208+ let id = tile.window().id();
209+ let is_active = is_active && Some(id) == active.as_ref();
210+
211+ let mut tile_view_rect = view_rect;
212+ tile_view_rect.loc -= offset + tile.render_offset();
213+ tile.update(is_active, tile_view_rect);
214+ }
215+ }
216+
217+ pub fn tiles(&self) -> impl Iterator<Item = &Tile<W>> + '_ {
218+ self.tiles.iter()
219+ }
220+
221+ pub fn tiles_mut(&mut self) -> impl Iterator<Item = &mut Tile<W>> + '_ {
222+ self.tiles.iter_mut()
223+ }
224+
225+ pub fn tiles_with_offsets(&self) -> impl Iterator<Item = (&Tile<W>, Point<f64, Logical>)> + '_ {
226+ let offsets = self.data.iter().map(|d| d.logical_pos);
227+ zip(&self.tiles, offsets)
228+ }
229+
230+ pub fn tiles_with_offsets_mut(
231+ &mut self,
232+ ) -> impl Iterator<Item = (&mut Tile<W>, Point<f64, Logical>)> + '_ {
233+ let offsets = self.data.iter().map(|d| d.logical_pos);
234+ zip(&mut self.tiles, offsets)
235+ }
236+
237+ pub fn tiles_with_render_positions(
238+ &self,
239+ ) -> impl Iterator<Item = (&Tile<W>, Point<f64, Logical>)> {
240+ let scale = self.scale;
241+ self.tiles_with_offsets().map(move |(tile, offset)| {
242+ let pos = offset + tile.render_offset();
243+ // Round to physical pixels.
244+ let pos = pos.to_physical_precise_round(scale).to_logical(scale);
245+ (tile, pos)
246+ })
247+ }
248+
249+ pub fn tiles_with_render_positions_mut(
250+ &mut self,
251+ round: bool,
252+ ) -> impl Iterator<Item = (&mut Tile<W>, Point<f64, Logical>)> {
253+ let scale = self.scale;
254+ self.tiles_with_offsets_mut().map(move |(tile, offset)| {
255+ let mut pos = offset + tile.render_offset();
256+ // Round to physical pixels.
257+ if round {
258+ pos = pos.to_physical_precise_round(scale).to_logical(scale);
259+ }
260+ (tile, pos)
261+ })
262+ }
263+
264+ pub fn toplevel_bounds(&self, rules: &ResolvedWindowRules) -> Size<i32, Logical> {
265+ let border_config = rules.border.resolve_against(self.options.border);
266+ compute_toplevel_bounds(border_config, self.working_area.size)
267+ }
268+
269+ /// Returns the geometry of the active tile relative to and clamped to the working area.
270+ ///
271+ /// During animations, assumes the final tile position.
272+ pub fn active_tile_visual_rectangle(&self) -> Option<Rectangle<f64, Logical>> {
273+ let (tile, offset) = self.tiles_with_offsets().next()?;
274+
275+ let tile_size = tile.tile_size();
276+ let tile_rect = Rectangle::from_loc_and_size(offset, tile_size);
277+
278+ self.working_area.intersection(tile_rect)
279+ }
280+
281+ pub fn popup_target_rect(&self, id: &W::Id) -> Option<Rectangle<f64, Logical>> {
282+ for (tile, pos) in self.tiles_with_offsets() {
283+ if tile.window().id() == id {
284+ // TODO: intersect with working area width.
285+ let width = tile.window_size().w;
286+ let height = self.working_area.size.h;
287+
288+ let mut target = Rectangle::from_loc_and_size((0., 0.), (width, height));
289+ target.loc.y -= pos.y;
290+ target.loc.y -= tile.window_loc().y;
291+
292+ return Some(target);
293+ }
294+ }
295+ None
296+ }
297+
298+ fn idx_of(&self, id: &W::Id) -> Option<usize> {
299+ self.tiles.iter().position(|tile| tile.window().id() == id)
300+ }
301+
302+ fn contains(&self, id: &W::Id) -> bool {
303+ self.idx_of(id).is_some()
304+ }
305+
306+ pub fn active_window(&self) -> Option<&W> {
307+ let id = self.active_window_id.as_ref()?;
308+ self.tiles
309+ .iter()
310+ .find(|tile| tile.window().id() == id)
311+ .map(Tile::window)
312+ }
313+
314+ pub fn has_window(&self, id: &W::Id) -> bool {
315+ self.tiles.iter().any(|tile| tile.window().id() == id)
316+ }
317+
318+ pub fn is_empty(&self) -> bool {
319+ self.tiles.is_empty()
320+ }
321+
322+ pub fn add_tile(&mut self, tile: Tile<W>, pos: Option<Point<f64, Logical>>, activate: bool) {
323+ self.add_tile_at(0, tile, pos, activate);
324+ }
325+
326+ fn add_tile_at(
327+ &mut self,
328+ idx: usize,
329+ mut tile: Tile<W>,
330+ pos: Option<Point<f64, Logical>>,
331+ activate: bool,
332+ ) {
333+ tile.update_config(self.scale, self.options.clone());
334+
335+ if tile.window().is_pending_fullscreen() {
336+ tile.window_mut()
337+ .request_size(Size::from((0, 0)), true, None);
338+ }
339+
340+ if activate || self.tiles.is_empty() {
341+ self.active_window_id = Some(tile.window().id().clone());
342+ }
343+
344+ let mut pos = pos.unwrap_or_else(|| {
345+ let area_size = self.working_area.size.to_point();
346+ let tile_size = tile.tile_size().to_point();
347+ let offset = (area_size - tile_size).downscale(2.);
348+ self.working_area.loc + offset
349+ });
350+ // TODO: also nudge pos + size inside the area.
351+ // TODO: smart padding (if doesn't fit, try without padding).
352+ pos.x = f64::max(pos.x, self.working_area.loc.x + 8.);
353+ pos.y = f64::max(pos.y, self.working_area.loc.y + 8.);
354+
355+ let data = Data::new(self.working_area, &tile, pos);
356+ self.data.insert(idx, data);
357+ self.tiles.insert(idx, tile);
358+ }
359+
360+ pub fn add_tile_above(&mut self, above: &W::Id, tile: Tile<W>) {
361+ // Activate the new window if above was active.
362+ let activate = Some(above) == self.active_window_id.as_ref();
363+
364+ let idx = self.idx_of(above).unwrap();
365+
366+ let above_pos = self.data[idx].logical_pos;
367+ let above_size = self.data[idx].size;
368+ let pos = above_pos + (above_size.to_point() - tile.tile_size().to_point()).downscale(2.);
369+
370+ self.add_tile_at(idx, tile, Some(pos), activate);
371+ }
372+
373+ pub fn remove_active_tile(&mut self) -> Option<RemovedTile<W>> {
374+ let id = self.active_window_id.clone()?;
375+ Some(self.remove_tile(&id))
376+ }
377+
378+ pub fn remove_tile(&mut self, id: &W::Id) -> RemovedTile<W> {
379+ let idx = self.idx_of(id).unwrap();
380+ self.remove_tile_by_idx(idx)
381+ }
382+
383+ fn remove_tile_by_idx(&mut self, idx: usize) -> RemovedTile<W> {
384+ let tile = self.tiles.remove(idx);
385+ self.data.remove(idx);
386+
387+ if self.tiles.is_empty() {
388+ self.active_window_id = None;
389+ } else if Some(tile.window().id()) == self.active_window_id.as_ref() {
390+ // The active tile was removed, make the topmost tile active.
391+ self.active_window_id = Some(self.tiles[0].window().id().clone());
392+ }
393+
394+ // Stop interactive resize.
395+ if let Some(resize) = &self.interactive_resize {
396+ if tile.window().id() == &resize.window {
397+ self.interactive_resize = None;
398+ }
399+ }
400+
401+ let width = ColumnWidth::Fixed(tile.window_size().w);
402+ RemovedTile {
403+ tile,
404+ // TODO
405+ width,
406+ is_full_width: false,
407+ is_floating: true,
408+ }
409+ }
410+
411+ pub fn activate_window_without_raising(&mut self, id: &W::Id) -> bool {
412+ if !self.contains(id) {
413+ return false;
414+ }
415+
416+ self.active_window_id = Some(id.clone());
417+ true
418+ }
419+
420+ pub fn activate_window(&mut self, id: &W::Id) -> bool {
421+ let Some(idx) = self.idx_of(id) else {
422+ return false;
423+ };
424+
425+ let tile = self.tiles.remove(idx);
426+ let data = self.data.remove(idx);
427+ self.tiles.insert(0, tile);
428+ self.data.insert(0, data);
429+ self.active_window_id = Some(id.clone());
430+
431+ true
432+ }
433+
434+ pub fn start_close_animation_for_window(
435+ &mut self,
436+ renderer: &mut GlesRenderer,
437+ id: &W::Id,
438+ blocker: TransactionBlocker,
439+ ) {
440+ let (tile, tile_pos) = self
441+ .tiles_with_render_positions_mut(false)
442+ .find(|(tile, _)| tile.window().id() == id)
443+ .unwrap();
444+
445+ let Some(snapshot) = tile.take_unmap_snapshot() else {
446+ return;
447+ };
448+
449+ let tile_size = tile.tile_size();
450+
451+ self.start_close_animation_for_tile(renderer, snapshot, tile_size, tile_pos, blocker);
452+ }
453+
454+ pub fn start_close_animation_for_tile(
455+ &mut self,
456+ renderer: &mut GlesRenderer,
457+ snapshot: TileRenderSnapshot,
458+ tile_size: Size<f64, Logical>,
459+ tile_pos: Point<f64, Logical>,
460+ blocker: TransactionBlocker,
461+ ) {
462+ let anim = Animation::new(
463+ self.clock.clone(),
464+ 0.,
465+ 1.,
466+ 0.,
467+ self.options.animations.window_close.anim,
468+ );
469+
470+ let blocker = if self.options.disable_transactions {
471+ TransactionBlocker::completed()
472+ } else {
473+ blocker
474+ };
475+
476+ let scale = Scale::from(self.scale);
477+ let res = ClosingWindow::new(
478+ renderer, snapshot, scale, tile_size, tile_pos, blocker, anim,
479+ );
480+ match res {
481+ Ok(closing) => {
482+ self.closing_windows.push(closing);
483+ }
484+ Err(err) => {
485+ warn!("error creating a closing window animation: {err:?}");
486+ }
487+ }
488+ }
489+
490+ pub fn set_window_width(&mut self, id: Option<&W::Id>, change: SizeChange, animate: bool) {
491+ let Some(id) = id.or(self.active_window_id.as_ref()) else {
492+ return;
493+ };
494+ let idx = self.idx_of(id).unwrap();
495+
496+ let SizeChange::SetFixed(mut win_width) = change else {
497+ // TODO
498+ return;
499+ };
500+
501+ let tile = &mut self.tiles[idx];
502+ let win = tile.window_mut();
503+ let min_w = win.min_size().w;
504+ let max_w = win.max_size().w;
505+
506+ if max_w > 0 {
507+ win_width = min(win_width, max_w);
508+ }
509+ if min_w > 0 {
510+ win_width = max(win_width, min_w);
511+ }
512+ win_width = max(1, win_width);
513+
514+ let win_height = win
515+ .requested_size()
516+ .map(|size| size.h)
517+ // If we requested height = 0, then switch to the current height.
518+ .filter(|h| *h != 0)
519+ .unwrap_or_else(|| win.size().h);
520+ let win_size = Size::from((win_width, win_height));
521+ win.request_size(win_size, animate, None);
522+ }
523+
524+ pub fn set_window_height(&mut self, id: Option<&W::Id>, change: SizeChange, animate: bool) {
525+ let Some(id) = id.or(self.active_window_id.as_ref()) else {
526+ return;
527+ };
528+ let idx = self.idx_of(id).unwrap();
529+
530+ let SizeChange::SetFixed(mut win_height) = change else {
531+ // TODO
532+ return;
533+ };
534+
535+ let tile = &mut self.tiles[idx];
536+ let win = tile.window_mut();
537+ let min_h = win.min_size().h;
538+ let max_h = win.max_size().h;
539+
540+ if max_h > 0 {
541+ win_height = min(win_height, max_h);
542+ }
543+ if min_h > 0 {
544+ win_height = max(win_height, min_h);
545+ }
546+ win_height = max(1, win_height);
547+
548+ let win_width = win
549+ .requested_size()
550+ .map(|size| size.w)
551+ // If we requested width = 0, then switch to the current width.
552+ .filter(|w| *w != 0)
553+ .unwrap_or_else(|| win.size().w);
554+ let win_size = Size::from((win_width, win_height));
555+ win.request_size(win_size, animate, None);
556+ }
557+
558+ pub fn update_window(&mut self, id: &W::Id, serial: Option<Serial>) -> bool {
559+ let Some(tile_idx) = self.idx_of(id) else {
560+ return false;
561+ };
562+
563+ let tile = &mut self.tiles[tile_idx];
564+ let data = &mut self.data[tile_idx];
565+
566+ let resize = tile.window_mut().interactive_resize_data();
567+
568+ // Do this before calling update_window() so it can get up-to-date info.
569+ if let Some(serial) = serial {
570+ tile.window_mut().update_interactive_resize(serial);
571+ }
572+
573+ let prev_size = data.size;
574+
575+ tile.update_window();
576+ data.update(tile);
577+
578+ // When resizing by top/left edge, update the position accordingly.
579+ if let Some(resize) = resize {
580+ let mut offset = Point::from((0., 0.));
581+ if resize.edges.contains(ResizeEdge::LEFT) {
582+ offset.x += prev_size.w - data.size.w;
583+ }
584+ if resize.edges.contains(ResizeEdge::TOP) {
585+ offset.y += prev_size.h - data.size.h;
586+ }
587+ data.set_logical_pos(data.logical_pos + offset);
588+ }
589+
590+ true
591+ }
592+
593+ pub fn render_elements<R: NiriRenderer>(
594+ &self,
595+ renderer: &mut R,
596+ view_rect: Rectangle<f64, Logical>,
597+ scale: Scale<f64>,
598+ target: RenderTarget,
599+ ) -> Vec<FloatingSpaceRenderElement<R>> {
600+ let mut rv = Vec::new();
601+
602+ // Draw the closing windows on top of the other windows.
603+ //
604+ // FIXME: I guess this should rather preserve the stacking order when the window is closed.
605+ for closing in self.closing_windows.iter().rev() {
606+ let elem = closing.render(renderer.as_gles_renderer(), view_rect, scale, target);
607+ rv.push(elem.into());
608+ }
609+
610+ let active = self.active_window_id.clone();
611+ for (tile, tile_pos) in self.tiles_with_render_positions() {
612+ // For the active tile, draw the focus ring.
613+ let focus_ring = Some(tile.window().id()) == active.as_ref();
614+
615+ rv.extend(
616+ tile.render(renderer, tile_pos, scale, focus_ring, target)
617+ .map(Into::into),
618+ );
619+ }
620+
621+ rv
622+ }
623+
624+ pub fn interactive_resize_begin(&mut self, window: W::Id, edges: ResizeEdge) -> bool {
625+ if self.interactive_resize.is_some() {
626+ return false;
627+ }
628+
629+ let tile = self
630+ .tiles
631+ .iter_mut()
632+ .find(|tile| tile.window().id() == &window)
633+ .unwrap();
634+
635+ let original_window_size = tile.window_size();
636+
637+ let resize = InteractiveResize {
638+ window,
639+ original_window_size,
640+ data: InteractiveResizeData { edges },
641+ };
642+ self.interactive_resize = Some(resize);
643+
644+ true
645+ }
646+
647+ pub fn interactive_resize_update(
648+ &mut self,
649+ window: &W::Id,
650+ delta: Point<f64, Logical>,
651+ ) -> bool {
652+ let Some(resize) = &self.interactive_resize else {
653+ return false;
654+ };
655+
656+ if window != &resize.window {
657+ return false;
658+ }
659+
660+ let original_window_size = resize.original_window_size;
661+ let edges = resize.data.edges;
662+
663+ if edges.intersects(ResizeEdge::LEFT_RIGHT) {
664+ let mut dx = delta.x;
665+ if edges.contains(ResizeEdge::LEFT) {
666+ dx = -dx;
667+ };
668+
669+ let window_width = (original_window_size.w + dx).round() as i32;
670+ self.set_window_width(Some(window), SizeChange::SetFixed(window_width), false);
671+ }
672+
673+ if edges.intersects(ResizeEdge::TOP_BOTTOM) {
674+ let mut dy = delta.y;
675+ if edges.contains(ResizeEdge::TOP) {
676+ dy = -dy;
677+ };
678+
679+ let window_height = (original_window_size.h + dy).round() as i32;
680+ self.set_window_height(Some(window), SizeChange::SetFixed(window_height), false);
681+ }
682+
683+ true
684+ }
685+
686+ pub fn interactive_resize_end(&mut self, window: Option<&W::Id>) {
687+ let Some(resize) = &self.interactive_resize else {
688+ return;
689+ };
690+
691+ if let Some(window) = window {
692+ if window != &resize.window {
693+ return;
694+ }
695+ }
696+
697+ self.interactive_resize = None;
698+ }
699+
700+ pub fn refresh(&mut self, is_active: bool) {
701+ let active = self.active_window_id.clone();
702+ for tile in &mut self.tiles {
703+ let win = tile.window_mut();
704+
705+ win.set_active_in_column(true);
706+
707+ let is_active = is_active && Some(win.id()) == active.as_ref();
708+ win.set_activated(is_active);
709+
710+ let resize_data = self
711+ .interactive_resize
712+ .as_ref()
713+ .filter(|resize| &resize.window == win.id())
714+ .map(|resize| resize.data);
715+ win.set_interactive_resize(resize_data);
716+
717+ let border_config = win.rules().border.resolve_against(self.options.border);
718+ let bounds = compute_toplevel_bounds(border_config, self.working_area.size);
719+ win.set_bounds(bounds);
720+
721+ // If transactions are disabled, also disable combined throttling, for more
722+ // intuitive behavior.
723+ let intent = if self.options.disable_resize_throttling {
724+ ConfigureIntent::CanSend
725+ } else {
726+ win.configure_intent()
727+ };
728+
729+ if matches!(
730+ intent,
731+ ConfigureIntent::CanSend | ConfigureIntent::ShouldSend
732+ ) {
733+ win.send_pending_configure();
734+ }
735+
736+ win.refresh();
737+ }
738+ }
739+
740+ #[cfg(test)]
741+ pub fn working_area(&self) -> Rectangle<f64, Logical> {
742+ self.working_area
743+ }
744+
745+ #[cfg(test)]
746+ pub fn scale(&self) -> f64 {
747+ self.scale
748+ }
749+
750+ #[cfg(test)]
751+ pub fn clock(&self) -> &Clock {
752+ &self.clock
753+ }
754+
755+ #[cfg(test)]
756+ pub fn options(&self) -> &Rc<Options> {
757+ &self.options
758+ }
759+
760+ #[cfg(test)]
761+ pub fn verify_invariants(&self) {
762+ assert!(self.scale > 0.);
763+ assert!(self.scale.is_finite());
764+ assert_eq!(self.tiles.len(), self.data.len());
765+
766+ for (tile, data) in zip(&self.tiles, &self.data) {
767+ assert!(Rc::ptr_eq(&self.options, &tile.options));
768+ assert_eq!(self.clock, tile.clock);
769+ assert_eq!(self.scale, tile.scale());
770+ tile.verify_invariants();
771+
772+ assert!(
773+ !tile.window().is_pending_fullscreen(),
774+ "floating windows cannot be fullscreen"
775+ );
776+
777+ data.verify_invariants();
778+
779+ let mut data2 = *data;
780+ data2.update(tile);
781+ data2.update_config(self.working_area);
782+ assert_eq!(data, &data2, "tile data must be up to date");
783+ }
784+
785+ if let Some(id) = &self.active_window_id {
786+ assert!(!self.tiles.is_empty());
787+ assert!(self.contains(id), "active window must be present in tiles");
788+ } else {
789+ assert!(self.tiles.is_empty());
790+ }
791+
792+ if let Some(resize) = &self.interactive_resize {
793+ assert!(
794+ self.contains(&resize.window),
795+ "interactive resize window must be present in tiles"
796+ );
797+ }
798+ }
799+}
800+
801+fn compute_toplevel_bounds(
802+ border_config: niri_config::Border,
803+ working_area_size: Size<f64, Logical>,
804+) -> Size<i32, Logical> {
805+ let mut border = 0.;
806+ if !border_config.off {
807+ border = border_config.width.0 * 2.;
808+ }
809+
810+ Size::from((
811+ f64::max(working_area_size.w - border, 1.),
812+ f64::max(working_area_size.h - border, 1.),
813+ ))
814+ .to_i32_floor()
815+}
src/layout/mod.rsmodified+215 -21
@@ -66,6 +66,7 @@ use crate::utils::{output_matches_name, output_size, round_logical_in_physical_m
66 use crate::window::ResolvedWindowRules;66 use crate::window::ResolvedWindowRules;
67 67
68 pub mod closing_window;68 pub mod closing_window;
69+pub mod floating;
69 pub mod focus_ring;70 pub mod focus_ring;
70 pub mod insert_hint_element;71 pub mod insert_hint_element;
71 pub mod monitor;72 pub mod monitor;
@@ -357,6 +358,8 @@ pub struct RemovedTile<W: LayoutElement> {
357 width: ColumnWidth,358 width: ColumnWidth,
358 /// Whether the column the tile was in was full-width.359 /// Whether the column the tile was in was full-width.
359 is_full_width: bool,360 is_full_width: bool,
361+ /// Whether the tile was floating.
362+ is_floating: bool,
360 }363 }
361 364
362 /// Whether to activate a newly added window.365 /// Whether to activate a newly added window.
@@ -744,6 +747,7 @@ impl<W: LayoutElement> Layout<W> {
744 }747 }
745 }748 }
746 749
750+ // TODO: pos
747 pub fn add_window_by_idx(751 pub fn add_window_by_idx(
748 &mut self,752 &mut self,
749 monitor_idx: usize,753 monitor_idx: usize,
@@ -752,6 +756,7 @@ impl<W: LayoutElement> Layout<W> {
752 activate: bool,756 activate: bool,
753 width: ColumnWidth,757 width: ColumnWidth,
754 is_full_width: bool,758 is_full_width: bool,
759+ is_floating: bool,
755 ) {760 ) {
756 let MonitorSet::Normal {761 let MonitorSet::Normal {
757 monitors,762 monitors,
@@ -762,7 +767,14 @@ impl<W: LayoutElement> Layout<W> {
762 panic!()767 panic!()
763 };768 };
764 769
765- monitors[monitor_idx].add_window(workspace_idx, window, activate, width, is_full_width);770+ monitors[monitor_idx].add_window(
771+ workspace_idx,
772+ window,
773+ activate,
774+ width,
775+ is_full_width,
776+ is_floating,
777+ );
766 778
767 if activate {779 if activate {
768 *active_monitor_idx = monitor_idx;780 *active_monitor_idx = monitor_idx;
@@ -776,6 +788,7 @@ impl<W: LayoutElement> Layout<W> {
776 window: W,788 window: W,
777 width: Option<ColumnWidth>,789 width: Option<ColumnWidth>,
778 is_full_width: bool,790 is_full_width: bool,
791+ is_floating: bool,
779 activate: ActivateWindow,792 activate: ActivateWindow,
780 ) -> Option<&Output> {793 ) -> Option<&Output> {
781 let width = self.resolve_default_width(&window, width);794 let width = self.resolve_default_width(&window, width);
@@ -814,7 +827,7 @@ impl<W: LayoutElement> Layout<W> {
814 true827 true
815 });828 });
816 829
817- mon.add_window(ws_idx, window, activate, width, is_full_width);830+ mon.add_window(ws_idx, window, activate, width, is_full_width, is_floating);
818 Some(&mon.output)831 Some(&mon.output)
819 }832 }
820 MonitorSet::NoOutputs { workspaces } => {833 MonitorSet::NoOutputs { workspaces } => {
@@ -827,7 +840,7 @@ impl<W: LayoutElement> Layout<W> {
827 })840 })
828 .unwrap();841 .unwrap();
829 let activate = activate.map_smart(|| true);842 let activate = activate.map_smart(|| true);
830- ws.add_window(window, activate, width, is_full_width);843+ ws.add_window(window, activate, width, is_full_width, is_floating);
831 None844 None
832 }845 }
833 }846 }
@@ -864,6 +877,7 @@ impl<W: LayoutElement> Layout<W> {
864 window: W,877 window: W,
865 width: Option<ColumnWidth>,878 width: Option<ColumnWidth>,
866 is_full_width: bool,879 is_full_width: bool,
880+ is_floating: bool,
867 activate: ActivateWindow,881 activate: ActivateWindow,
868 ) -> Option<&Output> {882 ) -> Option<&Output> {
869 let width = self.resolve_default_width(&window, width);883 let width = self.resolve_default_width(&window, width);
@@ -888,6 +902,7 @@ impl<W: LayoutElement> Layout<W> {
888 activate,902 activate,
889 width,903 width,
890 is_full_width,904 is_full_width,
905+ is_floating,
891 );906 );
892 Some(&mon.output)907 Some(&mon.output)
893 }908 }
@@ -902,7 +917,7 @@ impl<W: LayoutElement> Layout<W> {
902 &mut workspaces[0]917 &mut workspaces[0]
903 };918 };
904 let activate = activate.map_smart(|| true);919 let activate = activate.map_smart(|| true);
905- ws.add_window(window, activate, width, is_full_width);920+ ws.add_window(window, activate, width, is_full_width, is_floating);
906 None921 None
907 }922 }
908 }923 }
@@ -919,16 +934,24 @@ impl<W: LayoutElement> Layout<W> {
919 window: W,934 window: W,
920 width: Option<ColumnWidth>,935 width: Option<ColumnWidth>,
921 is_full_width: bool,936 is_full_width: bool,
937+ is_floating: bool,
922 ) -> Option<&Output> {938 ) -> Option<&Output> {
923 if let Some(InteractiveMoveState::Moving(move_)) = &self.interactive_move {939 if let Some(InteractiveMoveState::Moving(move_)) = &self.interactive_move {
924 if right_of == move_.tile.window().id() {940 if right_of == move_.tile.window().id() {
925 let output = move_.output.clone();941 let output = move_.output.clone();
926 let activate = ActivateWindow::default();942 let activate = ActivateWindow::default();
927 if self.monitor_for_output(&output).is_some() {943 if self.monitor_for_output(&output).is_some() {
928- self.add_window_on_output(&output, window, width, is_full_width, activate);944+ self.add_window_on_output(
945+ &output,
946+ window,
947+ width,
948+ is_full_width,
949+ is_floating,
950+ activate,
951+ );
929 return Some(&self.monitor_for_output(&output).unwrap().output);952 return Some(&self.monitor_for_output(&output).unwrap().output);
930 } else {953 } else {
931- return self.add_window(window, width, is_full_width, activate);954+ return self.add_window(window, width, is_full_width, is_floating, activate);
932 }955 }
933 }956 }
934 }957 }
@@ -942,7 +965,7 @@ impl<W: LayoutElement> Layout<W> {
942 .find(|mon| mon.workspaces.iter().any(|ws| ws.has_window(right_of)))965 .find(|mon| mon.workspaces.iter().any(|ws| ws.has_window(right_of)))
943 .unwrap();966 .unwrap();
944 967
945- mon.add_window_right_of(right_of, window, width, is_full_width);968+ mon.add_window_right_of(right_of, window, width, is_full_width, is_floating);
946 Some(&mon.output)969 Some(&mon.output)
947 }970 }
948 MonitorSet::NoOutputs { workspaces } => {971 MonitorSet::NoOutputs { workspaces } => {
@@ -950,7 +973,7 @@ impl<W: LayoutElement> Layout<W> {
950 .iter_mut()973 .iter_mut()
951 .find(|ws| ws.has_window(right_of))974 .find(|ws| ws.has_window(right_of))
952 .unwrap();975 .unwrap();
953- ws.add_window_right_of(right_of, window, width, is_full_width);976+ ws.add_window_right_of(right_of, window, width, is_full_width, is_floating);
954 None977 None
955 }978 }
956 }979 }
@@ -963,6 +986,7 @@ impl<W: LayoutElement> Layout<W> {
963 window: W,986 window: W,
964 width: Option<ColumnWidth>,987 width: Option<ColumnWidth>,
965 is_full_width: bool,988 is_full_width: bool,
989+ is_floating: bool,
966 activate: ActivateWindow,990 activate: ActivateWindow,
967 ) {991 ) {
968 let width = self.resolve_default_width(&window, width);992 let width = self.resolve_default_width(&window, width);
@@ -998,6 +1022,7 @@ impl<W: LayoutElement> Layout<W> {
998 activate,1022 activate,
999 width,1023 width,
1000 is_full_width,1024 is_full_width,
1025+ is_floating,
1001 );1026 );
1002 }1027 }
1003 1028
@@ -1024,6 +1049,7 @@ impl<W: LayoutElement> Layout<W> {
1024 tile: move_.tile,1049 tile: move_.tile,
1025 width: move_.width,1050 width: move_.width,
1026 is_full_width: move_.is_full_width,1051 is_full_width: move_.is_full_width,
1052+ is_floating: false,
1027 });1053 });
1028 }1054 }
1029 }1055 }
@@ -1390,6 +1416,42 @@ impl<W: LayoutElement> Layout<W> {
1390 }1416 }
1391 }1417 }
1392 1418
1419+ pub fn activate_window_without_raising(&mut self, window: &W::Id) {
1420+ if let Some(InteractiveMoveState::Moving(move_)) = &self.interactive_move {
1421+ if move_.tile.window().id() == window {
1422+ return;
1423+ }
1424+ }
1425+
1426+ let MonitorSet::Normal {
1427+ monitors,
1428+ active_monitor_idx,
1429+ ..
1430+ } = &mut self.monitor_set
1431+ else {
1432+ return;
1433+ };
1434+
1435+ for (monitor_idx, mon) in monitors.iter_mut().enumerate() {
1436+ for (workspace_idx, ws) in mon.workspaces.iter_mut().enumerate() {
1437+ if ws.activate_window_without_raising(window) {
1438+ *active_monitor_idx = monitor_idx;
1439+
1440+ // If currently in the middle of a vertical swipe between the target workspace
1441+ // and some other, don't switch the workspace.
1442+ match &mon.workspace_switch {
1443+ Some(WorkspaceSwitch::Gesture(gesture))
1444+ if gesture.current_idx.floor() == workspace_idx as f64
1445+ || gesture.current_idx.ceil() == workspace_idx as f64 => {}
1446+ _ => mon.switch_workspace(workspace_idx),
1447+ }
1448+
1449+ return;
1450+ }
1451+ }
1452+ }
1453+ }
1454+
1393 pub fn activate_output(&mut self, output: &Output) {1455 pub fn activate_output(&mut self, output: &Output) {
1394 let MonitorSet::Normal {1456 let MonitorSet::Normal {
1395 monitors,1457 monitors,
@@ -2596,6 +2658,36 @@ impl<W: LayoutElement> Layout<W> {
2596 workspace.reset_window_height(window);2658 workspace.reset_window_height(window);
2597 }2659 }
2598 2660
2661+ pub fn toggle_window_floating(&mut self, window: Option<&W::Id>) {
2662+ if let Some(InteractiveMoveState::Moving(move_)) = &mut self.interactive_move {
2663+ if window.is_none() || window == Some(move_.tile.window().id()) {
2664+ return;
2665+ }
2666+ }
2667+
2668+ let workspace = if let Some(window) = window {
2669+ Some(
2670+ self.workspaces_mut()
2671+ .find(|ws| ws.has_window(window))
2672+ .unwrap(),
2673+ )
2674+ } else {
2675+ self.active_workspace_mut()
2676+ };
2677+
2678+ let Some(workspace) = workspace else {
2679+ return;
2680+ };
2681+ workspace.toggle_window_floating(window);
2682+ }
2683+
2684+ pub fn switch_focus_floating_tiling(&mut self) {
2685+ let Some(workspace) = self.active_workspace_mut() else {
2686+ return;
2687+ };
2688+ workspace.switch_focus_floating_tiling();
2689+ }
2690+
2599 pub fn focus_output(&mut self, output: &Output) {2691 pub fn focus_output(&mut self, output: &Output) {
2600 if let MonitorSet::Normal {2692 if let MonitorSet::Normal {
2601 monitors,2693 monitors,
@@ -2680,6 +2772,7 @@ impl<W: LayoutElement> Layout<W> {
2680 activate,2772 activate,
2681 removed.width,2773 removed.width,
2682 removed.is_full_width,2774 removed.is_full_width,
2775+ removed.is_floating,
2683 );2776 );
2684 2777
2685 let MonitorSet::Normal { monitors, .. } = &mut self.monitor_set else {2778 let MonitorSet::Normal { monitors, .. } = &mut self.monitor_set else {
@@ -2706,6 +2799,12 @@ impl<W: LayoutElement> Layout<W> {
2706 2799
2707 let current = &mut monitors[*active_monitor_idx];2800 let current = &mut monitors[*active_monitor_idx];
2708 let ws = current.active_workspace();2801 let ws = current.active_workspace();
2802+
2803+ if ws.floating_is_active() {
2804+ self.move_to_output(None, output, None);
2805+ return;
2806+ }
2807+
2709 let Some(column) = ws.remove_active_column() else {2808 let Some(column) = ws.remove_active_column() else {
2710 return;2809 return;
2711 };2810 };
@@ -3040,10 +3139,17 @@ impl<W: LayoutElement> Layout<W> {
3040 }3139 }
3041 .band(sq_dist / INTERACTIVE_MOVE_START_THRESHOLD);3140 .band(sq_dist / INTERACTIVE_MOVE_START_THRESHOLD);
3042 3141
3043- let tile = self3142+ let (is_floating, tile) = self
3044 .workspaces_mut()3143 .workspaces_mut()
3045- .flat_map(|ws| ws.tiles_mut())3144+ .find(|ws| ws.has_window(&window_id))
3046- .find(|tile| *tile.window().id() == window_id)3145+ .map(|ws| {
3146+ (
3147+ ws.is_floating(&window_id),
3148+ ws.tiles_mut()
3149+ .find(|tile| *tile.window().id() == window_id)
3150+ .unwrap(),
3151+ )
3152+ })
3047 .unwrap();3153 .unwrap();
3048 tile.interactive_move_offset = pointer_delta.upscale(factor);3154 tile.interactive_move_offset = pointer_delta.upscale(factor);
3049 3155
@@ -3054,7 +3160,7 @@ impl<W: LayoutElement> Layout<W> {
3054 pointer_ratio_within_window,3160 pointer_ratio_within_window,
3055 });3161 });
3056 3162
3057- if sq_dist < INTERACTIVE_MOVE_START_THRESHOLD {3163+ if !is_floating && sq_dist < INTERACTIVE_MOVE_START_THRESHOLD {
3058 return true;3164 return true;
3059 }3165 }
3060 3166
@@ -3063,8 +3169,8 @@ impl<W: LayoutElement> Layout<W> {
3063 // to the pointer. Otherwise, we just teleport it as the layout code is not aware3169 // to the pointer. Otherwise, we just teleport it as the layout code is not aware
3064 // of monitor positions.3170 // of monitor positions.
3065 //3171 //
3066- // FIXME: with floating layer, the layout code will know about monitor positions,3172+ // FIXME: when and if the layout code knows about monitor positions, this will be
3067- // so this will be potentially animatable.3173+ // potentially animatable.
3068 let mut tile_pos = None;3174 let mut tile_pos = None;
3069 if let MonitorSet::Normal { monitors, .. } = &self.monitor_set {3175 if let MonitorSet::Normal { monitors, .. } = &self.monitor_set {
3070 if let Some((mon, (ws, ws_offset))) = monitors.iter().find_map(|mon| {3176 if let Some((mon, (ws, ws_offset))) = monitors.iter().find_map(|mon| {
@@ -3087,6 +3193,7 @@ impl<W: LayoutElement> Layout<W> {
3087 mut tile,3193 mut tile,
3088 width,3194 width,
3089 is_full_width,3195 is_full_width,
3196+ is_floating: _,
3090 } = self.remove_window(window, Transaction::new()).unwrap();3197 } = self.remove_window(window, Transaction::new()).unwrap();
3091 3198
3092 tile.stop_move_animations();3199 tile.stop_move_animations();
@@ -3105,6 +3212,7 @@ impl<W: LayoutElement> Layout<W> {
3105 3212
3106 // Unfullscreen and let the window pick a natural size.3213 // Unfullscreen and let the window pick a natural size.
3107 //3214 //
3215+ // TODO
3108 // When we have floating, we will want to always send a (0, 0) size here, not just3216 // When we have floating, we will want to always send a (0, 0) size here, not just
3109 // to unfullscreen. However, when implementing that, remember to check how GTK3217 // to unfullscreen. However, when implementing that, remember to check how GTK
3110 // tiled window size restoration works. It seems to remember *some* last size with3218 // tiled window size restoration works. It seems to remember *some* last size with
@@ -3265,6 +3373,10 @@ impl<W: LayoutElement> Layout<W> {
3265 true,3373 true,
3266 );3374 );
3267 }3375 }
3376+ InsertPosition::Floating => {
3377+ let pos = move_.tile_render_location() - offset;
3378+ mon.add_floating_tile(ws_idx, move_.tile, Some(pos), true);
3379+ }
3268 }3380 }
3269 3381
3270 // needed because empty_workspace_above_first could have modified the idx3382 // needed because empty_workspace_above_first could have modified the idx
@@ -3911,6 +4023,8 @@ mod tests {
3911 (0f64..).prop_map(SizeChange::SetProportion),4023 (0f64..).prop_map(SizeChange::SetProportion),
3912 any::<i32>().prop_map(SizeChange::AdjustFixed),4024 any::<i32>().prop_map(SizeChange::AdjustFixed),
3913 any::<f64>().prop_map(SizeChange::AdjustProportion),4025 any::<f64>().prop_map(SizeChange::AdjustProportion),
4026+ // Interactive resize can have negative values here.
4027+ Just(SizeChange::SetFixed(-100)),
3914 ]4028 ]
3915 }4029 }
3916 4030
@@ -3925,11 +4039,19 @@ mod tests {
3925 }4039 }
3926 4040
3927 fn arbitrary_min_max_size() -> impl Strategy<Value = (Size<i32, Logical>, Size<i32, Logical>)> {4041 fn arbitrary_min_max_size() -> impl Strategy<Value = (Size<i32, Logical>, Size<i32, Logical>)> {
3928- (arbitrary_min_max(), arbitrary_min_max()).prop_map(|((min_w, max_w), (min_h, max_h))| {4042+ prop_oneof![
3929- let min_size = Size::from((min_w, min_h));4043+ 5 => (arbitrary_min_max(), arbitrary_min_max()).prop_map(
3930- let max_size = Size::from((max_w, max_h));4044+ |((min_w, max_w), (min_h, max_h))| {
3931- (min_size, max_size)4045+ let min_size = Size::from((min_w, min_h));
3932- })4046+ let max_size = Size::from((max_w, max_h));
4047+ (min_size, max_size)
4048+ },
4049+ ),
4050+ 1 => arbitrary_min_max().prop_map(|(w, h)| {
4051+ let size = Size::from((w, h));
4052+ (size, size)
4053+ }),
4054+ ]
3933 }4055 }
3934 4056
3935 fn arbitrary_view_offset_gesture_delta() -> impl Strategy<Value = f64> {4057 fn arbitrary_view_offset_gesture_delta() -> impl Strategy<Value = f64> {
@@ -4103,6 +4225,11 @@ mod tests {
4103 #[proptest(strategy = "proptest::option::of(1..=5usize)")]4225 #[proptest(strategy = "proptest::option::of(1..=5usize)")]
4104 id: Option<usize>,4226 id: Option<usize>,
4105 },4227 },
4228+ ToggleWindowFloating {
4229+ #[proptest(strategy = "proptest::option::of(1..=5usize)")]
4230+ id: Option<usize>,
4231+ },
4232+ SwitchFocusFloatingTiling,
4106 Communicate(#[proptest(strategy = "1..=5usize")] usize),4233 Communicate(#[proptest(strategy = "1..=5usize")] usize),
4107 Refresh {4234 Refresh {
4108 is_active: bool,4235 is_active: bool,
@@ -4294,7 +4421,8 @@ mod tests {
4294 }4421 }
4295 4422
4296 let win = TestWindow::new(id, bbox, min_max_size.0, min_max_size.1);4423 let win = TestWindow::new(id, bbox, min_max_size.0, min_max_size.1);
4297- layout.add_window(win, None, false, ActivateWindow::default());4424+ let is_floating = min_max_size.0.h > 0 && min_max_size.0.h == min_max_size.1.h;
4425+ layout.add_window(win, None, false, is_floating, ActivateWindow::default());
4298 }4426 }
4299 Op::AddWindowRightOf {4427 Op::AddWindowRightOf {
4300 id,4428 id,
@@ -4350,7 +4478,8 @@ mod tests {
4350 }4478 }
4351 4479
4352 let win = TestWindow::new(id, bbox, min_max_size.0, min_max_size.1);4480 let win = TestWindow::new(id, bbox, min_max_size.0, min_max_size.1);
4353- layout.add_window_right_of(&right_of_id, win, None, false);4481+ let is_floating = min_max_size.0.h > 0 && min_max_size.0.h == min_max_size.1.h;
4482+ layout.add_window_right_of(&right_of_id, win, None, false, is_floating);
4354 }4483 }
4355 Op::AddWindowToNamedWorkspace {4484 Op::AddWindowToNamedWorkspace {
4356 id,4485 id,
@@ -4411,11 +4540,13 @@ mod tests {
4411 }4540 }
4412 4541
4413 let win = TestWindow::new(id, bbox, min_max_size.0, min_max_size.1);4542 let win = TestWindow::new(id, bbox, min_max_size.0, min_max_size.1);
4543+ let is_floating = min_max_size.0.h > 0 && min_max_size.0.h == min_max_size.1.h;
4414 layout.add_window_to_named_workspace(4544 layout.add_window_to_named_workspace(
4415 &ws_name,4545 &ws_name,
4416 win,4546 win,
4417 None,4547 None,
4418 false,4548 false,
4549+ is_floating,
4419 ActivateWindow::default(),4550 ActivateWindow::default(),
4420 );4551 );
4421 }4552 }
@@ -4575,6 +4706,13 @@ mod tests {
4575 let id = id.filter(|id| layout.has_window(id));4706 let id = id.filter(|id| layout.has_window(id));
4576 layout.reset_window_height(id.as_ref());4707 layout.reset_window_height(id.as_ref());
4577 }4708 }
4709+ Op::ToggleWindowFloating { id } => {
4710+ let id = id.filter(|id| layout.has_window(id));
4711+ layout.toggle_window_floating(id.as_ref());
4712+ }
4713+ Op::SwitchFocusFloatingTiling => {
4714+ layout.switch_focus_floating_tiling();
4715+ }
4578 Op::Communicate(id) => {4716 Op::Communicate(id) => {
4579 let mut update = false;4717 let mut update = false;
4580 4718
@@ -6191,6 +6329,62 @@ mod tests {
6191 check_ops(&ops);6329 check_ops(&ops);
6192 }6330 }
6193 6331
6332+ #[test]
6333+ fn set_width_fixed_negative() {
6334+ let ops = [
6335+ Op::AddOutput(3),
6336+ Op::AddWindow {
6337+ id: 3,
6338+ bbox: Rectangle::from_loc_and_size((0, 0), (100, 200)),
6339+ min_max_size: Default::default(),
6340+ },
6341+ Op::ToggleWindowFloating { id: Some(3) },
6342+ Op::SetColumnWidth(SizeChange::SetFixed(-100)),
6343+ ];
6344+ check_ops(&ops);
6345+ }
6346+
6347+ #[test]
6348+ fn set_height_fixed_negative() {
6349+ let ops = [
6350+ Op::AddOutput(3),
6351+ Op::AddWindow {
6352+ id: 3,
6353+ bbox: Rectangle::from_loc_and_size((0, 0), (100, 200)),
6354+ min_max_size: Default::default(),
6355+ },
6356+ Op::ToggleWindowFloating { id: Some(3) },
6357+ Op::SetWindowHeight {
6358+ id: None,
6359+ change: SizeChange::SetFixed(-100),
6360+ },
6361+ ];
6362+ check_ops(&ops);
6363+ }
6364+
6365+ #[test]
6366+ fn interactive_resize_to_negative() {
6367+ let ops = [
6368+ Op::AddOutput(3),
6369+ Op::AddWindow {
6370+ id: 3,
6371+ bbox: Rectangle::from_loc_and_size((0, 0), (100, 200)),
6372+ min_max_size: Default::default(),
6373+ },
6374+ Op::ToggleWindowFloating { id: Some(3) },
6375+ Op::InteractiveResizeBegin {
6376+ window: 3,
6377+ edges: ResizeEdge::BOTTOM_RIGHT,
6378+ },
6379+ Op::InteractiveResizeUpdate {
6380+ window: 3,
6381+ dx: -10000.,
6382+ dy: -10000.,
6383+ },
6384+ ];
6385+ check_ops(&ops);
6386+ }
6387+
6194 #[test]6388 #[test]
6195 fn windows_on_other_workspaces_remain_activated() {6389 fn windows_on_other_workspaces_remain_activated() {
6196 let ops = [6390 let ops = [
src/layout/monitor.rsmodified+51 -2
@@ -225,10 +225,11 @@ impl<W: LayoutElement> Monitor<W> {
225 activate: bool,225 activate: bool,
226 width: ColumnWidth,226 width: ColumnWidth,
227 is_full_width: bool,227 is_full_width: bool,
228+ is_floating: bool,
228 ) {229 ) {
229 let workspace = &mut self.workspaces[workspace_idx];230 let workspace = &mut self.workspaces[workspace_idx];
230 231
231- workspace.add_window(window, activate, width, is_full_width);232+ workspace.add_window(window, activate, width, is_full_width, is_floating);
232 233
233 // After adding a new window, workspace becomes this output's own.234 // After adding a new window, workspace becomes this output's own.
234 workspace.original_output = OutputId::new(&self.output);235 workspace.original_output = OutputId::new(&self.output);
@@ -253,6 +254,7 @@ impl<W: LayoutElement> Monitor<W> {
253 window: W,254 window: W,
254 width: ColumnWidth,255 width: ColumnWidth,
255 is_full_width: bool,256 is_full_width: bool,
257+ is_floating: bool,
256 ) {258 ) {
257 let workspace_idx = self259 let workspace_idx = self
258 .workspaces260 .workspaces
@@ -261,7 +263,7 @@ impl<W: LayoutElement> Monitor<W> {
261 .unwrap();263 .unwrap();
262 let workspace = &mut self.workspaces[workspace_idx];264 let workspace = &mut self.workspaces[workspace_idx];
263 265
264- workspace.add_window_right_of(right_of, window, width, is_full_width);266+ workspace.add_window_right_of(right_of, window, width, is_full_width, is_floating);
265 267
266 // After adding a new window, workspace becomes this output's own.268 // After adding a new window, workspace becomes this output's own.
267 workspace.original_output = OutputId::new(&self.output);269 workspace.original_output = OutputId::new(&self.output);
@@ -322,6 +324,35 @@ impl<W: LayoutElement> Monitor<W> {
322 }324 }
323 }325 }
324 326
327+ pub fn add_floating_tile(
328+ &mut self,
329+ mut workspace_idx: usize,
330+ tile: Tile<W>,
331+ pos: Option<Point<f64, Logical>>,
332+ activate: bool,
333+ ) {
334+ let workspace = &mut self.workspaces[workspace_idx];
335+
336+ workspace.add_floating_tile(tile, pos, activate);
337+
338+ // After adding a new window, workspace becomes this output's own.
339+ workspace.original_output = OutputId::new(&self.output);
340+
341+ if workspace_idx == self.workspaces.len() - 1 {
342+ // Insert a new empty workspace.
343+ self.add_workspace_bottom();
344+ }
345+
346+ if self.options.empty_workspace_above_first && workspace_idx == 0 {
347+ self.add_workspace_top();
348+ workspace_idx += 1;
349+ }
350+
351+ if activate {
352+ self.activate_workspace(workspace_idx);
353+ }
354+ }
355+
325 pub fn add_tile_to_column(356 pub fn add_tile_to_column(
326 &mut self,357 &mut self,
327 workspace_idx: usize,358 workspace_idx: usize,
@@ -505,6 +536,7 @@ impl<W: LayoutElement> Monitor<W> {
505 true,536 true,
506 removed.width,537 removed.width,
507 removed.is_full_width,538 removed.is_full_width,
539+ removed.is_floating,
508 );540 );
509 }541 }
510 542
@@ -527,6 +559,7 @@ impl<W: LayoutElement> Monitor<W> {
527 true,559 true,
528 removed.width,560 removed.width,
529 removed.is_full_width,561 removed.is_full_width,
562+ removed.is_floating,
530 );563 );
531 }564 }
532 565
@@ -565,6 +598,7 @@ impl<W: LayoutElement> Monitor<W> {
565 activate,598 activate,
566 removed.width,599 removed.width,
567 removed.is_full_width,600 removed.is_full_width,
601+ removed.is_floating,
568 );602 );
569 603
570 if self.workspace_switch.is_none() {604 if self.workspace_switch.is_none() {
@@ -581,6 +615,11 @@ impl<W: LayoutElement> Monitor<W> {
581 }615 }
582 616
583 let workspace = &mut self.workspaces[source_workspace_idx];617 let workspace = &mut self.workspaces[source_workspace_idx];
618+ if workspace.floating_is_active() {
619+ self.move_to_workspace_up();
620+ return;
621+ }
622+
584 let Some(column) = workspace.remove_active_column() else {623 let Some(column) = workspace.remove_active_column() else {
585 return;624 return;
586 };625 };
@@ -597,6 +636,11 @@ impl<W: LayoutElement> Monitor<W> {
597 }636 }
598 637
599 let workspace = &mut self.workspaces[source_workspace_idx];638 let workspace = &mut self.workspaces[source_workspace_idx];
639+ if workspace.floating_is_active() {
640+ self.move_to_workspace_down();
641+ return;
642+ }
643+
600 let Some(column) = workspace.remove_active_column() else {644 let Some(column) = workspace.remove_active_column() else {
601 return;645 return;
602 };646 };
@@ -613,6 +657,11 @@ impl<W: LayoutElement> Monitor<W> {
613 }657 }
614 658
615 let workspace = &mut self.workspaces[source_workspace_idx];659 let workspace = &mut self.workspaces[source_workspace_idx];
660+ if workspace.floating_is_active() {
661+ self.move_to_workspace(None, idx);
662+ return;
663+ }
664+
616 let Some(column) = workspace.remove_active_column() else {665 let Some(column) = workspace.remove_active_column() else {
617 return;666 return;
618 };667 };
src/layout/scrolling.rsmodified+33 -8
@@ -26,6 +26,11 @@ use crate::window::ResolvedWindowRules;
26 /// Amount of touchpad movement to scroll the view for the width of one working area.26 /// Amount of touchpad movement to scroll the view for the width of one working area.
27 const VIEW_GESTURE_WORKING_AREA_MOVEMENT: f64 = 1200.;27 const VIEW_GESTURE_WORKING_AREA_MOVEMENT: f64 = 1200.;
28 28
29+/// Maximum distance to the target position for an interactively moved window.
30+///
31+/// If the distance is higher than this, the window will instead remain floating.
32+const WINDOW_INSERT_MAX_DISTANCE: f64 = 50.;
33+
29 /// A scrollable-tiling space for windows.34 /// A scrollable-tiling space for windows.
30 #[derive(Debug)]35 #[derive(Debug)]
31 pub struct ScrollingSpace<W: LayoutElement> {36 pub struct ScrollingSpace<W: LayoutElement> {
@@ -102,6 +107,7 @@ niri_render_elements! {
102 pub enum InsertPosition {107 pub enum InsertPosition {
103 NewColumn(usize),108 NewColumn(usize),
104 InColumn(usize, usize),109 InColumn(usize, usize),
110+ Floating,
105 }111 }
106 112
107 #[derive(Debug)]113 #[derive(Debug)]
@@ -359,6 +365,10 @@ impl<W: LayoutElement> ScrollingSpace<W> {
359 self.columns.iter_mut().flat_map(|col| col.tiles.iter_mut())365 self.columns.iter_mut().flat_map(|col| col.tiles.iter_mut())
360 }366 }
361 367
368+ pub fn is_empty(&self) -> bool {
369+ self.columns.is_empty()
370+ }
371+
362 pub fn active_window(&self) -> Option<&W> {372 pub fn active_window(&self) -> Option<&W> {
363 if self.columns.is_empty() {373 if self.columns.is_empty() {
364 return None;374 return None;
@@ -652,9 +662,9 @@ impl<W: LayoutElement> ScrollingSpace<W> {
652 self.insert_hint = None;662 self.insert_hint = None;
653 }663 }
654 664
655- pub fn get_insert_position(&self, pos: Point<f64, Logical>) -> InsertPosition {665+ fn compute_insert_position(&self, pos: Point<f64, Logical>) -> (InsertPosition, f64) {
656 if self.columns.is_empty() {666 if self.columns.is_empty() {
657- return InsertPosition::NewColumn(0);667+ return (InsertPosition::NewColumn(0), pos.x.abs());
658 }668 }
659 669
660 let x = pos.x + self.view_pos();670 let x = pos.x + self.view_pos();
@@ -665,7 +675,7 @@ impl<W: LayoutElement> ScrollingSpace<W> {
665 675
666 // Insert position is before the first column.676 // Insert position is before the first column.
667 if x < 0. {677 if x < 0. {
668- return InsertPosition::NewColumn(0);678+ return (InsertPosition::NewColumn(0), -x);
669 }679 }
670 680
671 // Find the closest gap between columns.681 // Find the closest gap between columns.
@@ -685,7 +695,8 @@ impl<W: LayoutElement> ScrollingSpace<W> {
685 695
686 // Insert position is past the last column.696 // Insert position is past the last column.
687 if col_idx == self.columns.len() {697 if col_idx == self.columns.len() {
688- return InsertPosition::NewColumn(closest_col_idx);698+ // col_x should be what we expect if pos.x is past the last column.
699+ return (InsertPosition::NewColumn(closest_col_idx), x - col_x);
689 }700 }
690 701
691 // Find the closest gap between tiles.702 // Find the closest gap between tiles.
@@ -700,10 +711,21 @@ impl<W: LayoutElement> ScrollingSpace<W> {
700 let vert_dist = (col_x - x).abs();711 let vert_dist = (col_x - x).abs();
701 let hor_dist = (tile_off.y - y).abs();712 let hor_dist = (tile_off.y - y).abs();
702 if vert_dist <= hor_dist {713 if vert_dist <= hor_dist {
703- InsertPosition::NewColumn(closest_col_idx)714+ (InsertPosition::NewColumn(closest_col_idx), vert_dist)
704 } else {715 } else {
705- InsertPosition::InColumn(col_idx, closest_tile_idx)716+ (
717+ InsertPosition::InColumn(col_idx, closest_tile_idx),
718+ hor_dist,
719+ )
720+ }
721+ }
722+
723+ pub fn get_insert_position(&self, pos: Point<f64, Logical>) -> InsertPosition {
724+ let (position, distance) = self.compute_insert_position(pos);
725+ if distance > WINDOW_INSERT_MAX_DISTANCE {
726+ return InsertPosition::Floating;
706 }727 }
728+ position
707 }729 }
708 730
709 pub fn add_tile(731 pub fn add_tile(
@@ -894,6 +916,7 @@ impl<W: LayoutElement> ScrollingSpace<W> {
894 tile: column.tiles.remove(tile_idx),916 tile: column.tiles.remove(tile_idx),
895 width: column.width,917 width: column.width,
896 is_full_width: column.is_full_width,918 is_full_width: column.is_full_width,
919+ is_floating: false,
897 };920 };
898 }921 }
899 922
@@ -929,6 +952,7 @@ impl<W: LayoutElement> ScrollingSpace<W> {
929 tile,952 tile,
930 width: column.width,953 width: column.width,
931 is_full_width: column.is_full_width,954 is_full_width: column.is_full_width,
955+ is_floating: false,
932 };956 };
933 957
934 column.active_tile_idx = min(column.active_tile_idx, column.tiles.len() - 1);958 column.active_tile_idx = min(column.active_tile_idx, column.tiles.len() - 1);
@@ -1244,7 +1268,7 @@ impl<W: LayoutElement> ScrollingSpace<W> {
1244 self.start_close_animation_for_tile(renderer, snapshot, tile_size, tile_pos, blocker);1268 self.start_close_animation_for_tile(renderer, snapshot, tile_size, tile_pos, blocker);
1245 }1269 }
1246 1270
1247- pub fn start_close_animation_for_tile(1271+ fn start_close_animation_for_tile(
1248 &mut self,1272 &mut self,
1249 renderer: &mut GlesRenderer,1273 renderer: &mut GlesRenderer,
1250 snapshot: TileRenderSnapshot,1274 snapshot: TileRenderSnapshot,
@@ -1934,6 +1958,7 @@ impl<W: LayoutElement> ScrollingSpace<W> {
1934 let loc = Point::from((self.column_x(column_index), y));1958 let loc = Point::from((self.column_x(column_index), y));
1935 Rectangle::from_loc_and_size(loc, size)1959 Rectangle::from_loc_and_size(loc, size)
1936 }1960 }
1961+ InsertPosition::Floating => return None,
1937 };1962 };
1938 1963
1939 // First window on an empty workspace will cancel out any view offset. Replicate this1964 // First window on an empty workspace will cancel out any view offset. Replicate this
@@ -2738,7 +2763,7 @@ impl<W: LayoutElement> ScrollingSpace<W> {
2738 .iter()2763 .iter()
2739 .flat_map(|col| &col.tiles)2764 .flat_map(|col| &col.tiles)
2740 .any(|tile| tile.window().id() == &resize.window),2765 .any(|tile| tile.window().id() == &resize.window),
2741- "interactive resize window must be present on the workspace"2766+ "interactive resize window must be present in the layout"
2742 );2767 );
2743 }2768 }
2744 }2769 }
src/layout/workspace.rsmodified+378 -34
@@ -10,6 +10,7 @@ use smithay::reexports::wayland_protocols::xdg::shell::server::xdg_toplevel;
10 use smithay::reexports::wayland_server::protocol::wl_surface::WlSurface;10 use smithay::reexports::wayland_server::protocol::wl_surface::WlSurface;
11 use smithay::utils::{Logical, Point, Rectangle, Scale, Serial, Size, Transform};11 use smithay::utils::{Logical, Point, Rectangle, Scale, Serial, Size, Transform};
12 12
13+use super::floating::{FloatingSpace, FloatingSpaceRenderElement};
13 use super::scrolling::{14 use super::scrolling::{
14 Column, ColumnWidth, InsertHint, InsertPosition, ScrollingSpace, ScrollingSpaceRenderElement,15 Column, ColumnWidth, InsertHint, InsertPosition, ScrollingSpace, ScrollingSpaceRenderElement,
15 };16 };
@@ -29,6 +30,12 @@ pub struct Workspace<W: LayoutElement> {
29 /// The scrollable-tiling layout.30 /// The scrollable-tiling layout.
30 scrolling: ScrollingSpace<W>,31 scrolling: ScrollingSpace<W>,
31 32
33+ /// The floating layout.
34+ floating: FloatingSpace<W>,
35+
36+ /// Whether the floating layout is active instead of the scrolling layout.
37+ floating_is_active: bool,
38+
32 /// The original output of this workspace.39 /// The original output of this workspace.
33 ///40 ///
34 /// Most of the time this will be the workspace's current output, however, after an output41 /// Most of the time this will be the workspace's current output, however, after an output
@@ -112,6 +119,7 @@ impl WorkspaceId {
112 niri_render_elements! {119 niri_render_elements! {
113 WorkspaceRenderElement<R> => {120 WorkspaceRenderElement<R> => {
114 Scrolling = ScrollingSpaceRenderElement<R>,121 Scrolling = ScrollingSpaceRenderElement<R>,
122+ Floating = FloatingSpaceRenderElement<R>,
115 }123 }
116 }124 }
117 125
@@ -170,8 +178,17 @@ impl<W: LayoutElement> Workspace<W> {
170 options.clone(),178 options.clone(),
171 );179 );
172 180
181+ let floating = FloatingSpace::new(
182+ working_area,
183+ scale.fractional_scale(),
184+ clock.clone(),
185+ options.clone(),
186+ );
187+
173 Self {188 Self {
174 scrolling,189 scrolling,
190+ floating,
191+ floating_is_active: false,
175 original_output,192 original_output,
176 scale,193 scale,
177 transform: output.current_transform(),194 transform: output.current_transform(),
@@ -213,8 +230,17 @@ impl<W: LayoutElement> Workspace<W> {
213 options.clone(),230 options.clone(),
214 );231 );
215 232
233+ let floating = FloatingSpace::new(
234+ working_area,
235+ scale.fractional_scale(),
236+ clock.clone(),
237+ options.clone(),
238+ );
239+
216 Self {240 Self {
217 scrolling,241 scrolling,
242+ floating,
243+ floating_is_active: false,
218 output: None,244 output: None,
219 scale,245 scale,
220 transform: Transform::Normal,246 transform: Transform::Normal,
@@ -255,18 +281,24 @@ impl<W: LayoutElement> Workspace<W> {
255 281
256 pub fn advance_animations(&mut self) {282 pub fn advance_animations(&mut self) {
257 self.scrolling.advance_animations();283 self.scrolling.advance_animations();
284+ self.floating.advance_animations();
258 }285 }
259 286
260 pub fn are_animations_ongoing(&self) -> bool {287 pub fn are_animations_ongoing(&self) -> bool {
261- self.scrolling.are_animations_ongoing()288+ self.scrolling.are_animations_ongoing() || self.floating.are_animations_ongoing()
262 }289 }
263 290
264 pub fn are_transitions_ongoing(&self) -> bool {291 pub fn are_transitions_ongoing(&self) -> bool {
265- self.scrolling.are_transitions_ongoing()292+ self.scrolling.are_transitions_ongoing() || self.floating.are_animations_ongoing()
266 }293 }
267 294
268 pub fn update_render_elements(&mut self, is_active: bool) {295 pub fn update_render_elements(&mut self, is_active: bool) {
269- self.scrolling.update_render_elements(is_active);296+ self.scrolling
297+ .update_render_elements(is_active && !self.floating_is_active);
298+
299+ let view_rect = Rectangle::from_loc_and_size((0., 0.), self.view_size);
300+ self.floating
301+ .update_render_elements(is_active && self.floating_is_active, view_rect);
270 }302 }
271 303
272 pub fn update_config(&mut self, base_options: Rc<Options>) {304 pub fn update_config(&mut self, base_options: Rc<Options>) {
@@ -280,12 +312,19 @@ impl<W: LayoutElement> Workspace<W> {
280 options.clone(),312 options.clone(),
281 );313 );
282 314
315+ self.floating.update_config(
316+ self.working_area,
317+ self.scale.fractional_scale(),
318+ options.clone(),
319+ );
320+
283 self.base_options = base_options;321 self.base_options = base_options;
284 self.options = options;322 self.options = options;
285 }323 }
286 324
287 pub fn update_shaders(&mut self) {325 pub fn update_shaders(&mut self) {
288 self.scrolling.update_shaders();326 self.scrolling.update_shaders();
327+ self.floating.update_shaders();
289 }328 }
290 329
291 pub fn windows(&self) -> impl Iterator<Item = &W> + '_ {330 pub fn windows(&self) -> impl Iterator<Item = &W> + '_ {
@@ -297,11 +336,19 @@ impl<W: LayoutElement> Workspace<W> {
297 }336 }
298 337
299 pub fn tiles(&self) -> impl Iterator<Item = &Tile<W>> + '_ {338 pub fn tiles(&self) -> impl Iterator<Item = &Tile<W>> + '_ {
300- self.scrolling.tiles()339+ let scrolling = self.scrolling.tiles();
340+ let floating = self.floating.tiles();
341+ scrolling.chain(floating)
301 }342 }
302 343
303 pub fn tiles_mut(&mut self) -> impl Iterator<Item = &mut Tile<W>> + '_ {344 pub fn tiles_mut(&mut self) -> impl Iterator<Item = &mut Tile<W>> + '_ {
304- self.scrolling.tiles_mut()345+ let scrolling = self.scrolling.tiles_mut();
346+ let floating = self.floating.tiles_mut();
347+ scrolling.chain(floating)
348+ }
349+
350+ pub fn is_floating(&self, id: &W::Id) -> bool {
351+ self.floating.has_window(id)
305 }352 }
306 353
307 pub fn current_output(&self) -> Option<&Output> {354 pub fn current_output(&self) -> Option<&Output> {
@@ -309,7 +356,11 @@ impl<W: LayoutElement> Workspace<W> {
309 }356 }
310 357
311 pub fn active_window(&self) -> Option<&W> {358 pub fn active_window(&self) -> Option<&W> {
312- self.scrolling.active_window()359+ if self.floating_is_active {
360+ self.floating.active_window()
361+ } else {
362+ self.scrolling.active_window()
363+ }
313 }364 }
314 365
315 pub fn is_active_fullscreen(&self) -> bool {366 pub fn is_active_fullscreen(&self) -> bool {
@@ -391,6 +442,11 @@ impl<W: LayoutElement> Workspace<W> {
391 scale.fractional_scale(),442 scale.fractional_scale(),
392 self.options.clone(),443 self.options.clone(),
393 );444 );
445+ self.floating.update_config(
446+ working_area,
447+ scale.fractional_scale(),
448+ self.options.clone(),
449+ );
394 }450 }
395 451
396 if scale_transform_changed {452 if scale_transform_changed {
@@ -410,6 +466,7 @@ impl<W: LayoutElement> Workspace<W> {
410 activate: bool,466 activate: bool,
411 width: ColumnWidth,467 width: ColumnWidth,
412 is_full_width: bool,468 is_full_width: bool,
469+ is_floating: bool,
413 ) {470 ) {
414 let tile = Tile::new(471 let tile = Tile::new(
415 window,472 window,
@@ -417,7 +474,12 @@ impl<W: LayoutElement> Workspace<W> {
417 self.clock.clone(),474 self.clock.clone(),
418 self.options.clone(),475 self.options.clone(),
419 );476 );
420- self.add_tile(None, tile, activate, width, is_full_width);477+
478+ if is_floating {
479+ self.add_floating_tile(tile, None, activate);
480+ } else {
481+ self.add_tile(None, tile, activate, width, is_full_width);
482+ }
421 }483 }
422 484
423 pub fn add_tile(485 pub fn add_tile(
@@ -431,6 +493,24 @@ impl<W: LayoutElement> Workspace<W> {
431 self.enter_output_for_window(tile.window());493 self.enter_output_for_window(tile.window());
432 self.scrolling494 self.scrolling
433 .add_tile(col_idx, tile, activate, width, is_full_width, None);495 .add_tile(col_idx, tile, activate, width, is_full_width, None);
496+
497+ if activate {
498+ self.floating_is_active = false;
499+ }
500+ }
501+
502+ pub fn add_floating_tile(
503+ &mut self,
504+ tile: Tile<W>,
505+ pos: Option<Point<f64, Logical>>,
506+ activate: bool,
507+ ) {
508+ self.enter_output_for_window(tile.window());
509+ self.floating.add_tile(tile, pos, activate);
510+
511+ if activate || self.scrolling.is_empty() {
512+ self.floating_is_active = true;
513+ }
434 }514 }
435 515
436 pub fn add_tile_to_column(516 pub fn add_tile_to_column(
@@ -443,6 +523,10 @@ impl<W: LayoutElement> Workspace<W> {
443 self.enter_output_for_window(tile.window());523 self.enter_output_for_window(tile.window());
444 self.scrolling524 self.scrolling
445 .add_tile_to_column(col_idx, tile_idx, tile, activate);525 .add_tile_to_column(col_idx, tile_idx, tile, activate);
526+
527+ if activate {
528+ self.floating_is_active = false;
529+ }
446 }530 }
447 531
448 pub fn add_window_right_of(532 pub fn add_window_right_of(
@@ -451,6 +535,8 @@ impl<W: LayoutElement> Workspace<W> {
451 window: W,535 window: W,
452 width: ColumnWidth,536 width: ColumnWidth,
453 is_full_width: bool,537 is_full_width: bool,
538+ // TODO: smarter enum, so you can override is_floating = false for floating right_of.
539+ is_floating: bool,
454 ) {540 ) {
455 let tile = Tile::new(541 let tile = Tile::new(
456 window,542 window,
@@ -458,7 +544,7 @@ impl<W: LayoutElement> Workspace<W> {
458 self.clock.clone(),544 self.clock.clone(),
459 self.options.clone(),545 self.options.clone(),
460 );546 );
461- self.add_tile_right_of(right_of, tile, width, is_full_width);547+ self.add_tile_right_of(right_of, tile, width, is_full_width, is_floating);
462 }548 }
463 549
464 pub fn add_tile_right_of(550 pub fn add_tile_right_of(
@@ -467,10 +553,36 @@ impl<W: LayoutElement> Workspace<W> {
467 tile: Tile<W>,553 tile: Tile<W>,
468 width: ColumnWidth,554 width: ColumnWidth,
469 is_full_width: bool,555 is_full_width: bool,
556+ is_floating: bool,
470 ) {557 ) {
471 self.enter_output_for_window(tile.window());558 self.enter_output_for_window(tile.window());
472- self.scrolling559+
473- .add_tile_right_of(right_of, tile, width, is_full_width);560+ let floating_has_window = self.floating.has_window(right_of);
561+ if is_floating || floating_has_window {
562+ if floating_has_window {
563+ self.floating.add_tile_above(right_of, tile);
564+ } else {
565+ let activate = self.scrolling.active_window().unwrap().id() == right_of;
566+ // FIXME: use static pos
567+ let (right_of_tile, render_pos) = self
568+ .scrolling
569+ .tiles_with_render_positions()
570+ .find(|(tile, _)| tile.window().id() == right_of)
571+ .unwrap();
572+ // Position the new tile in the center above the right_of tile. Think a dialog
573+ // opening on top of a window.
574+ let pos = render_pos
575+ + (right_of_tile.tile_size().to_point() - tile.tile_size().to_point())
576+ .downscale(2.);
577+ self.floating.add_tile(tile, Some(pos), activate);
578+ if activate {
579+ self.floating_is_active = true;
580+ }
581+ }
582+ } else {
583+ self.scrolling
584+ .add_tile_right_of(right_of, tile, width, is_full_width);
585+ }
474 }586 }
475 587
476 pub fn add_column(&mut self, column: Column<W>, activate: bool) {588 pub fn add_column(&mut self, column: Column<W>, activate: bool) {
@@ -479,29 +591,66 @@ impl<W: LayoutElement> Workspace<W> {
479 }591 }
480 592
481 self.scrolling.add_column(None, column, activate, None);593 self.scrolling.add_column(None, column, activate, None);
594+
595+ if activate {
596+ self.floating_is_active = false;
597+ }
598+ }
599+
600+ fn update_focus_floating_tiling_after_removing(&mut self, removed_from_floating: bool) {
601+ if removed_from_floating {
602+ if self.floating.is_empty() {
603+ self.floating_is_active = false;
604+ }
605+ } else {
606+ // Scrolling should remain focused if both are empty.
607+ if self.scrolling.is_empty() && !self.floating.is_empty() {
608+ self.floating_is_active = true;
609+ }
610+ }
482 }611 }
483 612
484 pub fn remove_tile(&mut self, id: &W::Id, transaction: Transaction) -> RemovedTile<W> {613 pub fn remove_tile(&mut self, id: &W::Id, transaction: Transaction) -> RemovedTile<W> {
485- let removed = self.scrolling.remove_tile(id, transaction);614+ let mut from_floating = false;
615+ let removed = if self.floating.has_window(id) {
616+ from_floating = true;
617+ self.floating.remove_tile(id)
618+ } else {
619+ self.scrolling.remove_tile(id, transaction)
620+ };
486 621
487 if let Some(output) = &self.output {622 if let Some(output) = &self.output {
488 removed.tile.window().output_leave(output);623 removed.tile.window().output_leave(output);
489 }624 }
490 625
626+ self.update_focus_floating_tiling_after_removing(from_floating);
627+
491 removed628 removed
492 }629 }
493 630
494 pub fn remove_active_tile(&mut self, transaction: Transaction) -> Option<RemovedTile<W>> {631 pub fn remove_active_tile(&mut self, transaction: Transaction) -> Option<RemovedTile<W>> {
495- let removed = self.scrolling.remove_active_tile(transaction)?;632+ let from_floating = self.floating_is_active;
633+ let removed = if self.floating_is_active {
634+ self.floating.remove_active_tile()?
635+ } else {
636+ self.scrolling.remove_active_tile(transaction)?
637+ };
496 638
497 if let Some(output) = &self.output {639 if let Some(output) = &self.output {
498 removed.tile.window().output_leave(output);640 removed.tile.window().output_leave(output);
499 }641 }
500 642
643+ self.update_focus_floating_tiling_after_removing(from_floating);
644+
501 Some(removed)645 Some(removed)
502 }646 }
503 647
504 pub fn remove_active_column(&mut self) -> Option<Column<W>> {648 pub fn remove_active_column(&mut self) -> Option<Column<W>> {
649+ let from_floating = self.floating_is_active;
650+ if self.floating_is_active {
651+ return None;
652+ }
653+
505 let column = self.scrolling.remove_active_column()?;654 let column = self.scrolling.remove_active_column()?;
506 655
507 if let Some(output) = &self.output {656 if let Some(output) = &self.output {
@@ -510,6 +659,8 @@ impl<W: LayoutElement> Workspace<W> {
510 }659 }
511 }660 }
512 661
662+ self.update_focus_floating_tiling_after_removing(from_floating);
663+
513 Some(column)664 Some(column)
514 }665 }
515 666
@@ -527,15 +678,21 @@ impl<W: LayoutElement> Workspace<W> {
527 pub fn new_window_size(678 pub fn new_window_size(
528 &self,679 &self,
529 width: Option<ColumnWidth>,680 width: Option<ColumnWidth>,
681+ is_floating: bool,
530 rules: &ResolvedWindowRules,682 rules: &ResolvedWindowRules,
531 ) -> Size<i32, Logical> {683 ) -> Size<i32, Logical> {
532- self.scrolling.new_window_size(width, rules)684+ if is_floating {
685+ Size::from((0, 0))
686+ } else {
687+ self.scrolling.new_window_size(width, rules)
688+ }
533 }689 }
534 690
535 pub fn configure_new_window(691 pub fn configure_new_window(
536 &self,692 &self,
537 window: &Window,693 window: &Window,
538 width: Option<ColumnWidth>,694 width: Option<ColumnWidth>,
695+ is_floating: bool,
539 rules: &ResolvedWindowRules,696 rules: &ResolvedWindowRules,
540 ) {697 ) {
541 window.with_surfaces(|surface, data| {698 window.with_surfaces(|surface, data| {
@@ -549,10 +706,14 @@ impl<W: LayoutElement> Workspace<W> {
549 if state.states.contains(xdg_toplevel::State::Fullscreen) {706 if state.states.contains(xdg_toplevel::State::Fullscreen) {
550 state.size = Some(self.view_size.to_i32_round());707 state.size = Some(self.view_size.to_i32_round());
551 } else {708 } else {
552- state.size = Some(self.new_window_size(width, rules));709+ state.size = Some(self.new_window_size(width, is_floating, rules));
553 }710 }
554 711
555- state.bounds = Some(self.scrolling.toplevel_bounds(rules));712+ if is_floating {
713+ state.bounds = Some(self.floating.toplevel_bounds(rules));
714+ } else {
715+ state.bounds = Some(self.scrolling.toplevel_bounds(rules));
716+ }
556 });717 });
557 }718 }
558 719
@@ -629,10 +790,16 @@ impl<W: LayoutElement> Workspace<W> {
629 }790 }
630 791
631 pub fn consume_or_expel_window_left(&mut self, window: Option<&W::Id>) {792 pub fn consume_or_expel_window_left(&mut self, window: Option<&W::Id>) {
793+ if window.map_or(self.floating_is_active, |id| self.floating.has_window(id)) {
794+ return;
795+ }
632 self.scrolling.consume_or_expel_window_left(window);796 self.scrolling.consume_or_expel_window_left(window);
633 }797 }
634 798
635 pub fn consume_or_expel_window_right(&mut self, window: Option<&W::Id>) {799 pub fn consume_or_expel_window_right(&mut self, window: Option<&W::Id>) {
800+ if window.map_or(self.floating_is_active, |id| self.floating.has_window(id)) {
801+ return;
802+ }
636 self.scrolling.consume_or_expel_window_right(window);803 self.scrolling.consume_or_expel_window_right(window);
637 }804 }
638 805
@@ -657,29 +824,113 @@ impl<W: LayoutElement> Workspace<W> {
657 }824 }
658 825
659 pub fn set_column_width(&mut self, change: SizeChange) {826 pub fn set_column_width(&mut self, change: SizeChange) {
660- self.scrolling.set_column_width(change);827+ if self.floating_is_active {
828+ self.floating.set_window_width(None, change, true);
829+ } else {
830+ self.scrolling.set_column_width(change);
831+ }
661 }832 }
662 833
663 pub fn set_window_height(&mut self, window: Option<&W::Id>, change: SizeChange) {834 pub fn set_window_height(&mut self, window: Option<&W::Id>, change: SizeChange) {
664- self.scrolling.set_window_height(window, change);835+ if window.map_or(self.floating_is_active, |id| self.floating.has_window(id)) {
836+ self.floating.set_window_height(window, change, true);
837+ } else {
838+ self.scrolling.set_window_height(window, change);
839+ }
665 }840 }
666 841
667 pub fn reset_window_height(&mut self, window: Option<&W::Id>) {842 pub fn reset_window_height(&mut self, window: Option<&W::Id>) {
843+ if window.map_or(self.floating_is_active, |id| self.floating.has_window(id)) {
844+ return;
845+ }
668 self.scrolling.reset_window_height(window);846 self.scrolling.reset_window_height(window);
669 }847 }
670 848
671 pub fn toggle_window_height(&mut self, window: Option<&W::Id>) {849 pub fn toggle_window_height(&mut self, window: Option<&W::Id>) {
850+ if window.map_or(self.floating_is_active, |id| self.floating.has_window(id)) {
851+ // TODO
852+ return;
853+ }
672 self.scrolling.toggle_window_height(window);854 self.scrolling.toggle_window_height(window);
673 }855 }
674 856
675 pub fn set_fullscreen(&mut self, window: &W::Id, is_fullscreen: bool) {857 pub fn set_fullscreen(&mut self, window: &W::Id, is_fullscreen: bool) {
858+ if self.floating.has_window(window) {
859+ if is_fullscreen {
860+ self.toggle_window_floating(Some(window));
861+ } else {
862+ // Floating windows are never fullscreen, so this is an unfullscreen request for an
863+ // already unfullscreen window.
864+ return;
865+ }
866+ }
676 self.scrolling.set_fullscreen(window, is_fullscreen);867 self.scrolling.set_fullscreen(window, is_fullscreen);
677 }868 }
678 869
679 pub fn toggle_fullscreen(&mut self, window: &W::Id) {870 pub fn toggle_fullscreen(&mut self, window: &W::Id) {
871+ if self.floating.has_window(window) {
872+ self.toggle_window_floating(Some(window));
873+ }
680 self.scrolling.toggle_fullscreen(window);874 self.scrolling.toggle_fullscreen(window);
681 }875 }
682 876
877+ pub fn toggle_window_floating(&mut self, id: Option<&W::Id>) {
878+ let active_id = self.active_window().map(|win| win.id().clone());
879+ let target_is_active = id.map_or(true, |id| Some(id) == active_id.as_ref());
880+ let Some(id) = id.cloned().or(active_id) else {
881+ return;
882+ };
883+
884+ let (_, render_pos) = self
885+ .tiles_with_render_positions()
886+ .find(|(tile, _)| *tile.window().id() == id)
887+ .unwrap();
888+
889+ if self.floating.has_window(&id) {
890+ let removed = self.floating.remove_tile(&id);
891+ // FIXME: compute closest pos?
892+ self.scrolling.add_tile(
893+ None,
894+ removed.tile,
895+ target_is_active,
896+ removed.width,
897+ removed.is_full_width,
898+ None,
899+ );
900+ if target_is_active {
901+ self.floating_is_active = false;
902+ }
903+ } else {
904+ let mut removed = self.scrolling.remove_tile(&id, Transaction::new());
905+ removed.tile.stop_move_animations();
906+ let pos = render_pos + Point::from((50., 50.));
907+ self.floating
908+ .add_tile(removed.tile, Some(pos), target_is_active);
909+ if target_is_active {
910+ self.floating_is_active = true;
911+ }
912+ }
913+
914+ let (tile, new_render_pos) = self
915+ .tiles_with_render_positions_mut(false)
916+ .find(|(tile, _)| *tile.window().id() == id)
917+ .unwrap();
918+
919+ tile.animate_move_from(render_pos - new_render_pos);
920+ }
921+
922+ pub fn switch_focus_floating_tiling(&mut self) {
923+ if self.floating.is_empty() {
924+ // If floating is empty, keep focus on scrolling.
925+ return;
926+ } else if self.scrolling.is_empty() {
927+ // If floating isn't empty but scrolling is, keep focus on floating.
928+ return;
929+ }
930+
931+ self.floating_is_active = !self.floating_is_active;
932+ }
933+
683 pub fn has_windows(&self) -> bool {934 pub fn has_windows(&self) -> bool {
684 self.windows().next().is_some()935 self.windows().next().is_some()
685 }936 }
@@ -699,22 +950,34 @@ impl<W: LayoutElement> Workspace<W> {
699 pub fn tiles_with_render_positions(950 pub fn tiles_with_render_positions(
700 &self,951 &self,
701 ) -> impl Iterator<Item = (&Tile<W>, Point<f64, Logical>)> {952 ) -> impl Iterator<Item = (&Tile<W>, Point<f64, Logical>)> {
702- self.scrolling.tiles_with_render_positions()953+ let scrolling = self.scrolling.tiles_with_render_positions();
954+ let floating = self.floating.tiles_with_render_positions();
955+ floating.chain(scrolling)
703 }956 }
704 957
705 pub fn tiles_with_render_positions_mut(958 pub fn tiles_with_render_positions_mut(
706 &mut self,959 &mut self,
707 round: bool,960 round: bool,
708 ) -> impl Iterator<Item = (&mut Tile<W>, Point<f64, Logical>)> {961 ) -> impl Iterator<Item = (&mut Tile<W>, Point<f64, Logical>)> {
709- self.scrolling.tiles_with_render_positions_mut(round)962+ let scrolling = self.scrolling.tiles_with_render_positions_mut(round);
963+ let floating = self.floating.tiles_with_render_positions_mut(round);
964+ floating.chain(scrolling)
710 }965 }
711 966
712 pub fn active_tile_visual_rectangle(&self) -> Option<Rectangle<f64, Logical>> {967 pub fn active_tile_visual_rectangle(&self) -> Option<Rectangle<f64, Logical>> {
713- self.scrolling.active_tile_visual_rectangle()968+ if self.floating_is_active {
969+ self.floating.active_tile_visual_rectangle()
970+ } else {
971+ self.scrolling.active_tile_visual_rectangle()
972+ }
714 }973 }
715 974
716 pub fn popup_target_rect(&self, window: &W::Id) -> Option<Rectangle<f64, Logical>> {975 pub fn popup_target_rect(&self, window: &W::Id) -> Option<Rectangle<f64, Logical>> {
717- self.scrolling.popup_target_rect(window)976+ if self.floating.has_window(window) {
977+ self.floating.popup_target_rect(window)
978+ } else {
979+ self.scrolling.popup_target_rect(window)
980+ }
718 }981 }
719 982
720 pub fn render_elements<R: NiriRenderer>(983 pub fn render_elements<R: NiriRenderer>(
@@ -724,7 +987,15 @@ impl<W: LayoutElement> Workspace<W> {
724 ) -> impl Iterator<Item = WorkspaceRenderElement<R>> {987 ) -> impl Iterator<Item = WorkspaceRenderElement<R>> {
725 let scale = Scale::from(self.scale.fractional_scale());988 let scale = Scale::from(self.scale.fractional_scale());
726 let scrolling = self.scrolling.render_elements(renderer, scale, target);989 let scrolling = self.scrolling.render_elements(renderer, scale, target);
727- scrolling.into_iter().map(WorkspaceRenderElement::from)990+ let scrolling = scrolling.into_iter().map(WorkspaceRenderElement::from);
991+
992+ let view_rect = Rectangle::from_loc_and_size((0., 0.), self.view_size);
993+ let floating = self
994+ .floating
995+ .render_elements(renderer, view_rect, scale, target);
996+ let floating = floating.into_iter().map(WorkspaceRenderElement::from);
997+
998+ floating.chain(scrolling)
728 }999 }
729 1000
730 pub fn render_above_top_layer(&self) -> bool {1001 pub fn render_above_top_layer(&self) -> bool {
@@ -760,8 +1031,13 @@ impl<W: LayoutElement> Workspace<W> {
760 window: &W::Id,1031 window: &W::Id,
761 blocker: TransactionBlocker,1032 blocker: TransactionBlocker,
762 ) {1033 ) {
763- self.scrolling1034+ if self.floating.has_window(window) {
764- .start_close_animation_for_window(renderer, window, blocker);1035+ self.floating
1036+ .start_close_animation_for_window(renderer, window, blocker);
1037+ } else {
1038+ self.scrolling
1039+ .start_close_animation_for_window(renderer, window, blocker);
1040+ }
765 }1041 }
766 1042
767 pub fn start_close_animation_for_tile(1043 pub fn start_close_animation_for_tile(
@@ -772,10 +1048,7 @@ impl<W: LayoutElement> Workspace<W> {
772 tile_pos: Point<f64, Logical>,1048 tile_pos: Point<f64, Logical>,
773 blocker: TransactionBlocker,1049 blocker: TransactionBlocker,
774 ) {1050 ) {
775- // FIXME: when floating happens, put this on the floating layer. It's used for interactive1051+ self.floating
776- // move, which is floating rather than scrolling.
777- let tile_pos = tile_pos + Point::from((self.scrolling.view_pos(), 0.));
778- self.scrolling
779 .start_close_animation_for_tile(renderer, snapshot, tile_size, tile_pos, blocker);1052 .start_close_animation_for_tile(renderer, snapshot, tile_size, tile_pos, blocker);
780 }1053 }
781 1054
@@ -829,19 +1102,47 @@ impl<W: LayoutElement> Workspace<W> {
829 }1102 }
830 1103
831 pub fn update_window(&mut self, window: &W::Id, serial: Option<Serial>) {1104 pub fn update_window(&mut self, window: &W::Id, serial: Option<Serial>) {
832- self.scrolling.update_window(window, serial);1105+ if !self.floating.update_window(window, serial) {
1106+ self.scrolling.update_window(window, serial);
1107+ }
833 }1108 }
834 1109
835 pub fn refresh(&mut self, is_active: bool) {1110 pub fn refresh(&mut self, is_active: bool) {
836- self.scrolling.refresh(is_active);1111+ self.scrolling
1112+ .refresh(is_active && !self.floating_is_active);
1113+ self.floating.refresh(is_active && self.floating_is_active);
837 }1114 }
838 1115
839 pub fn scroll_amount_to_activate(&self, window: &W::Id) -> f64 {1116 pub fn scroll_amount_to_activate(&self, window: &W::Id) -> f64 {
1117+ if self.floating.has_window(window) {
1118+ return 0.;
1119+ }
1120+
840 self.scrolling.scroll_amount_to_activate(window)1121 self.scrolling.scroll_amount_to_activate(window)
841 }1122 }
842 1123
843 pub fn activate_window(&mut self, window: &W::Id) -> bool {1124 pub fn activate_window(&mut self, window: &W::Id) -> bool {
844- self.scrolling.activate_window(window)1125+ if self.floating.activate_window(window) {
1126+ self.floating_is_active = true;
1127+ true
1128+ } else if self.scrolling.activate_window(window) {
1129+ self.floating_is_active = false;
1130+ true
1131+ } else {
1132+ false
1133+ }
1134+ }
1135+
1136+ pub fn activate_window_without_raising(&mut self, window: &W::Id) -> bool {
1137+ if self.floating.activate_window_without_raising(window) {
1138+ self.floating_is_active = true;
1139+ true
1140+ } else if self.scrolling.activate_window(window) {
1141+ self.floating_is_active = false;
1142+ true
1143+ } else {
1144+ false
1145+ }
845 }1146 }
846 1147
847 pub fn set_insert_hint(&mut self, insert_hint: InsertHint) {1148 pub fn set_insert_hint(&mut self, insert_hint: InsertHint) {
@@ -876,7 +1177,11 @@ impl<W: LayoutElement> Workspace<W> {
876 }1177 }
877 1178
878 pub fn interactive_resize_begin(&mut self, window: W::Id, edges: ResizeEdge) -> bool {1179 pub fn interactive_resize_begin(&mut self, window: W::Id, edges: ResizeEdge) -> bool {
879- self.scrolling.interactive_resize_begin(window, edges)1180+ if self.floating.has_window(&window) {
1181+ self.floating.interactive_resize_begin(window, edges)
1182+ } else {
1183+ self.scrolling.interactive_resize_begin(window, edges)
1184+ }
880 }1185 }
881 1186
882 pub fn interactive_resize_update(1187 pub fn interactive_resize_update(
@@ -884,11 +1189,28 @@ impl<W: LayoutElement> Workspace<W> {
884 window: &W::Id,1189 window: &W::Id,
885 delta: Point<f64, Logical>,1190 delta: Point<f64, Logical>,
886 ) -> bool {1191 ) -> bool {
887- self.scrolling.interactive_resize_update(window, delta)1192+ if self.floating.has_window(window) {
1193+ self.floating.interactive_resize_update(window, delta)
1194+ } else {
1195+ self.scrolling.interactive_resize_update(window, delta)
1196+ }
888 }1197 }
889 1198
890 pub fn interactive_resize_end(&mut self, window: Option<&W::Id>) {1199 pub fn interactive_resize_end(&mut self, window: Option<&W::Id>) {
891- self.scrolling.interactive_resize_end(window);1200+ if let Some(window) = window {
1201+ if self.floating.has_window(window) {
1202+ self.floating.interactive_resize_end(Some(window));
1203+ } else {
1204+ self.scrolling.interactive_resize_end(Some(window));
1205+ }
1206+ } else {
1207+ self.floating.interactive_resize_end(None);
1208+ self.scrolling.interactive_resize_end(None);
1209+ }
1210+ }
1211+
1212+ pub fn floating_is_active(&self) -> bool {
1213+ self.floating_is_active
892 }1214 }
893 1215
894 #[cfg(test)]1216 #[cfg(test)]
@@ -896,6 +1218,11 @@ impl<W: LayoutElement> Workspace<W> {
896 &self.scrolling1218 &self.scrolling
897 }1219 }
898 1220
1221+ #[cfg(test)]
1222+ pub fn floating(&self) -> &FloatingSpace<W> {
1223+ &self.floating
1224+ }
1225+
899 #[cfg(test)]1226 #[cfg(test)]
900 pub fn verify_invariants(&self, move_win_id: Option<&W::Id>) {1227 pub fn verify_invariants(&self, move_win_id: Option<&W::Id>) {
901 use approx::assert_abs_diff_eq;1228 use approx::assert_abs_diff_eq;
@@ -911,6 +1238,23 @@ impl<W: LayoutElement> Workspace<W> {
911 assert!(Rc::ptr_eq(&self.options, self.scrolling.options()));1238 assert!(Rc::ptr_eq(&self.options, self.scrolling.options()));
912 self.scrolling.verify_invariants(self.working_area);1239 self.scrolling.verify_invariants(self.working_area);
913 1240
1241+ assert_eq!(self.working_area, self.floating.working_area());
1242+ assert_eq!(&self.clock, self.floating.clock());
1243+ assert!(Rc::ptr_eq(&self.options, self.floating.options()));
1244+ self.floating.verify_invariants();
1245+
1246+ if self.floating.is_empty() {
1247+ assert!(
1248+ !self.floating_is_active,
1249+ "when floating is empty it must never be active"
1250+ );
1251+ } else if self.scrolling.is_empty() {
1252+ assert!(
1253+ self.floating_is_active,
1254+ "when scrolling is empty but floating isn't, floating should be active"
1255+ );
1256+ }
1257+
914 for (tile, tile_pos) in self.tiles_with_render_positions() {1258 for (tile, tile_pos) in self.tiles_with_render_positions() {
915 if Some(tile.window().id()) != move_win_id {1259 if Some(tile.window().id()) != move_win_id {
916 assert_eq!(tile.interactive_move_offset, Point::from((0., 0.)));1260 assert_eq!(tile.interactive_move_offset, Point::from((0., 0.)));
src/niri.rsmodified+1 -1
@@ -4813,7 +4813,7 @@ impl Niri {
4813 }4813 }
4814 }4814 }
4815 4815
4816- self.layout.activate_window(window);4816+ self.layout.activate_window_without_raising(window);
4817 self.layer_shell_on_demand_focus = None;4817 self.layer_shell_on_demand_focus = None;
4818 }4818 }
4819 }4819 }
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spA1.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 616 × 688, bounds: 1248 × 688, states: []11 size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 616 × 688, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spA2.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 616 × 688, bounds: 1248 × 688, states: []11 size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 616 × 688, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spB1.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spB2.snapmodified+1 -1
@@ -8,6 +8,6 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA1-spA1.snapmodified+1 -1
@@ -12,4 +12,4 @@ size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA1-spA2.snapmodified+1 -1
@@ -12,4 +12,4 @@ size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA1-spB1.snapmodified+2 -2
@@ -8,8 +8,8 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA1-spB2.snapmodified+2 -2
@@ -8,8 +8,8 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA2-spA1.snapmodified+1 -1
@@ -12,4 +12,4 @@ size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA2-spA2.snapmodified+1 -0
@@ -12,3 +12,4 @@ size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA2-spB1.snapmodified+2 -2
@@ -8,8 +8,8 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA2-spB2.snapmodified+2 -1
@@ -8,7 +8,8 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spA1.snapmodified+2 -2
@@ -11,5 +11,5 @@ initial configure:
11 size: 616 × 688, bounds: 1248 × 688, states: []11 size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: []14+size: 0 × 0, bounds: 1280 × 720, states: []
15-size: 616 × 688, bounds: 1248 × 688, states: [Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spA2.snapmodified+2 -2
@@ -11,5 +11,5 @@ initial configure:
11 size: 616 × 688, bounds: 1248 × 688, states: []11 size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: []14+size: 0 × 0, bounds: 1280 × 720, states: []
15-size: 616 × 688, bounds: 1248 × 688, states: [Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spB1.snapmodified+3 -3
@@ -8,8 +8,8 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: []14+size: 0 × 0, bounds: 1280 × 720, states: []
15-size: 616 × 688, bounds: 1248 × 688, states: [Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spB2.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 936 × 1048, bounds: 1888 × 1048, states: []14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAN-spA1.snapmodified+1 -1
@@ -12,4 +12,4 @@ size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAN-spA2.snapmodified+1 -1
@@ -12,4 +12,4 @@ size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAN-spB1.snapmodified+2 -2
@@ -8,8 +8,8 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAN-spB2.snapmodified+2 -1
@@ -8,7 +8,8 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spA1.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 616 × 688, bounds: 1248 × 688, states: []11 size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 616 × 688, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spA2.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 616 × 688, bounds: 1248 × 688, states: []11 size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 616 × 688, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spB1.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spB2.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spA1.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 936 × 1048, bounds: 1888 × 1048, states: []11 size: 936 × 1048, bounds: 1888 × 1048, states: []
12 12
13 post-map configures:13 post-map configures:
14+size: 936 × 1048, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spA2.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 936 × 1048, bounds: 1888 × 1048, states: []11 size: 936 × 1048, bounds: 1888 × 1048, states: []
12 12
13 post-map configures:13 post-map configures:
14+size: 936 × 1048, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spB1.snapmodified+1 -1
@@ -8,6 +8,6 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spB2.snapmodified+1 -1
@@ -8,6 +8,6 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spA1.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 616 × 688, bounds: 1248 × 688, states: []11 size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 616 × 688, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spA2.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 616 × 688, bounds: 1248 × 688, states: []11 size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 616 × 688, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spB1.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spB2.snapmodified+1 -1
@@ -8,6 +8,6 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spA1.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 616 × 688, bounds: 1248 × 688, states: []11 size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 616 × 688, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spA2.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 616 × 688, bounds: 1248 × 688, states: []11 size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 616 × 688, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spB1.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spB2.snapmodified+1 -1
@@ -8,6 +8,6 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-spA1.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-spA2.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-spB1.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-spB2.snapmodified+2 -1
@@ -8,6 +8,7 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA1-spA1.snapmodified+1 -1
@@ -12,4 +12,4 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA1-spA2.snapmodified+1 -1
@@ -12,4 +12,4 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA1-spB1.snapmodified+2 -2
@@ -8,8 +8,8 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA1-spB2.snapmodified+2 -2
@@ -8,8 +8,8 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA2-spA1.snapmodified+1 -1
@@ -12,4 +12,4 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA2-spA2.snapmodified+1 -0
@@ -12,3 +12,4 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA2-spB1.snapmodified+2 -2
@@ -8,8 +8,8 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA2-spB2.snapmodified+2 -1
@@ -8,7 +8,8 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spA1.snapmodified+2 -2
@@ -11,5 +11,5 @@ initial configure:
11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: []14+size: 0 × 0, bounds: 1280 × 720, states: []
15-size: 616 × 688, bounds: 1248 × 688, states: [Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spA2.snapmodified+2 -2
@@ -11,5 +11,5 @@ initial configure:
11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: []14+size: 0 × 0, bounds: 1280 × 720, states: []
15-size: 616 × 688, bounds: 1248 × 688, states: [Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spB1.snapmodified+3 -3
@@ -8,8 +8,8 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: []14+size: 0 × 0, bounds: 1280 × 720, states: []
15-size: 616 × 688, bounds: 1248 × 688, states: [Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spB2.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 936 × 1048, bounds: 1888 × 1048, states: []14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAN-spA1.snapmodified+1 -1
@@ -12,4 +12,4 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAN-spA2.snapmodified+1 -1
@@ -12,4 +12,4 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAN-spB1.snapmodified+2 -2
@@ -8,8 +8,8 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAN-spB2.snapmodified+2 -1
@@ -8,7 +8,8 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB1-spA1.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB1-spA2.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB1-spB1.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB1-spB2.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB2-spA1.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB2-spA2.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB2-spB1.snapmodified+2 -1
@@ -8,6 +8,7 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB2-spB2.snapmodified+2 -1
@@ -8,6 +8,7 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBN-spA1.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBN-spA2.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBN-spB1.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBN-spB2.snapmodified+2 -1
@@ -8,6 +8,7 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBU-spA1.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBU-spA2.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBU-spB1.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBU-spB2.snapmodified+2 -1
@@ -8,6 +8,7 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spA1.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 616 × 688, bounds: 1248 × 688, states: []11 size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 616 × 688, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spA2.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 616 × 688, bounds: 1248 × 688, states: []11 size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 616 × 688, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spB1.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spB2.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA1-spA1.snapmodified+1 -1
@@ -12,4 +12,4 @@ size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA1-spA2.snapmodified+1 -1
@@ -12,4 +12,4 @@ size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA1-spB1.snapmodified+2 -2
@@ -8,8 +8,8 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA1-spB2.snapmodified+2 -2
@@ -8,8 +8,8 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA2-spA1.snapmodified+1 -1
@@ -12,4 +12,4 @@ size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA2-spA2.snapmodified+1 -0
@@ -12,3 +12,4 @@ size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA2-spB1.snapmodified+2 -2
@@ -8,8 +8,8 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA2-spB2.snapmodified+2 -1
@@ -8,7 +8,8 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spA1.snapmodified+2 -2
@@ -11,5 +11,5 @@ initial configure:
11 size: 616 × 688, bounds: 1248 × 688, states: []11 size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: []14+size: 0 × 0, bounds: 1280 × 720, states: []
15-size: 616 × 688, bounds: 1248 × 688, states: [Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spA2.snapmodified+2 -2
@@ -11,5 +11,5 @@ initial configure:
11 size: 616 × 688, bounds: 1248 × 688, states: []11 size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: []14+size: 0 × 0, bounds: 1280 × 720, states: []
15-size: 616 × 688, bounds: 1248 × 688, states: [Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spB1.snapmodified+3 -3
@@ -8,8 +8,8 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: []14+size: 0 × 0, bounds: 1280 × 720, states: []
15-size: 616 × 688, bounds: 1248 × 688, states: [Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spB2.snapmodified+3 -3
@@ -8,8 +8,8 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: []14+size: 0 × 0, bounds: 1280 × 720, states: []
15-size: 616 × 688, bounds: 1248 × 688, states: [Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAN-spA1.snapmodified+1 -1
@@ -12,4 +12,4 @@ size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAN-spA2.snapmodified+1 -1
@@ -12,4 +12,4 @@ size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAN-spB1.snapmodified+2 -2
@@ -8,8 +8,8 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAN-spB2.snapmodified+2 -2
@@ -8,8 +8,8 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spA1.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 616 × 688, bounds: 1248 × 688, states: []11 size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 616 × 688, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spA2.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 616 × 688, bounds: 1248 × 688, states: []11 size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 616 × 688, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spB1.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spB2.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spA1.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 616 × 688, bounds: 1248 × 688, states: []11 size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 616 × 688, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spA2.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 616 × 688, bounds: 1248 × 688, states: []11 size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 616 × 688, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spB1.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spB2.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spA1.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 616 × 688, bounds: 1248 × 688, states: []11 size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 616 × 688, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spA2.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 616 × 688, bounds: 1248 × 688, states: []11 size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 616 × 688, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spB1.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spB2.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spA1.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 616 × 688, bounds: 1248 × 688, states: []11 size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 616 × 688, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spA2.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 616 × 688, bounds: 1248 × 688, states: []11 size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 616 × 688, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spB1.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spB2.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-spA1.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-spA2.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-spB1.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-spB2.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA1-spA1.snapmodified+1 -1
@@ -12,4 +12,4 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA1-spA2.snapmodified+1 -1
@@ -12,4 +12,4 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA1-spB1.snapmodified+2 -2
@@ -8,8 +8,8 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA1-spB2.snapmodified+2 -2
@@ -8,8 +8,8 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA2-spA1.snapmodified+1 -1
@@ -12,4 +12,4 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA2-spA2.snapmodified+1 -0
@@ -12,3 +12,4 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA2-spB1.snapmodified+2 -2
@@ -8,8 +8,8 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA2-spB2.snapmodified+2 -1
@@ -8,7 +8,8 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spA1.snapmodified+2 -2
@@ -11,5 +11,5 @@ initial configure:
11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: []14+size: 0 × 0, bounds: 1280 × 720, states: []
15-size: 616 × 688, bounds: 1248 × 688, states: [Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spA2.snapmodified+2 -2
@@ -11,5 +11,5 @@ initial configure:
11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: []14+size: 0 × 0, bounds: 1280 × 720, states: []
15-size: 616 × 688, bounds: 1248 × 688, states: [Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spB1.snapmodified+3 -3
@@ -8,8 +8,8 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: []14+size: 0 × 0, bounds: 1280 × 720, states: []
15-size: 616 × 688, bounds: 1248 × 688, states: [Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spB2.snapmodified+3 -3
@@ -8,8 +8,8 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: []14+size: 0 × 0, bounds: 1280 × 720, states: []
15-size: 616 × 688, bounds: 1248 × 688, states: [Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAN-spA1.snapmodified+1 -1
@@ -12,4 +12,4 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAN-spA2.snapmodified+1 -1
@@ -12,4 +12,4 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAN-spB1.snapmodified+2 -2
@@ -8,8 +8,8 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAN-spB2.snapmodified+2 -2
@@ -8,8 +8,8 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB1-spA1.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB1-spA2.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB1-spB1.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB1-spB2.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB2-spA1.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB2-spA2.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB2-spB1.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB2-spB2.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBN-spA1.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBN-spA2.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBN-spB1.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBN-spB2.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBU-spA1.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBU-spA2.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBU-spB1.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBU-spB2.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-spA1.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 616 × 688, bounds: 1248 × 688, states: []11 size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 616 × 688, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-spA2.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 616 × 688, bounds: 1248 × 688, states: []11 size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 616 × 688, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-spB1.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-spB2.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA1-spA1.snapmodified+1 -1
@@ -12,4 +12,4 @@ size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA1-spA2.snapmodified+1 -1
@@ -12,4 +12,4 @@ size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA1-spB1.snapmodified+2 -2
@@ -8,8 +8,8 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA1-spB2.snapmodified+2 -2
@@ -8,8 +8,8 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA2-spA1.snapmodified+1 -1
@@ -12,4 +12,4 @@ size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA2-spA2.snapmodified+1 -0
@@ -12,3 +12,4 @@ size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA2-spB1.snapmodified+2 -2
@@ -8,8 +8,8 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA2-spB2.snapmodified+2 -1
@@ -8,7 +8,8 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAA-spA1.snapmodified+2 -2
@@ -11,5 +11,5 @@ initial configure:
11 size: 616 × 688, bounds: 1248 × 688, states: []11 size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: []14+size: 0 × 0, bounds: 1280 × 720, states: []
15-size: 616 × 688, bounds: 1248 × 688, states: [Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAA-spA2.snapmodified+2 -2
@@ -11,5 +11,5 @@ initial configure:
11 size: 616 × 688, bounds: 1248 × 688, states: []11 size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: []14+size: 0 × 0, bounds: 1280 × 720, states: []
15-size: 616 × 688, bounds: 1248 × 688, states: [Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAA-spB1.snapmodified+3 -3
@@ -8,8 +8,8 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: []14+size: 0 × 0, bounds: 1280 × 720, states: []
15-size: 616 × 688, bounds: 1248 × 688, states: [Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAA-spB2.snapmodified+3 -3
@@ -8,8 +8,8 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: []14+size: 0 × 0, bounds: 1280 × 720, states: []
15-size: 616 × 688, bounds: 1248 × 688, states: [Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAN-spA1.snapmodified+1 -1
@@ -12,4 +12,4 @@ size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAN-spA2.snapmodified+1 -1
@@ -12,4 +12,4 @@ size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAN-spB1.snapmodified+2 -2
@@ -8,8 +8,8 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAN-spB2.snapmodified+2 -2
@@ -8,8 +8,8 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB1-spA1.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB1-spA2.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB1-spB1.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB1-spB2.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB2-spA1.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB2-spA2.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB2-spB1.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB2-spB2.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBN-spA1.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBN-spA2.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBN-spB1.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBN-spB2.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]11+size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBU-spA1.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 616 × 688, bounds: 1248 × 688, states: []11 size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 616 × 688, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBU-spA2.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 616 × 688, bounds: 1248 × 688, states: []11 size: 616 × 688, bounds: 1248 × 688, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 616 × 688, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBU-spB1.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBU-spB2.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 616 × 688, bounds: 1248 × 688, states: []11+size: 0 × 0, bounds: 1280 × 720, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 616 × 688, bounds: 1248 × 688, states: [Activated]14+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-spA1.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 936 × 1048, bounds: 1888 × 1048, states: []11 size: 936 × 1048, bounds: 1888 × 1048, states: []
12 12
13 post-map configures:13 post-map configures:
14+size: 936 × 1048, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-spA2.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 936 × 1048, bounds: 1888 × 1048, states: []11 size: 936 × 1048, bounds: 1888 × 1048, states: []
12 12
13 post-map configures:13 post-map configures:
14+size: 936 × 1048, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-spB1.snapmodified+1 -1
@@ -8,6 +8,6 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-spB2.snapmodified+1 -1
@@ -8,6 +8,6 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA1-spA1.snapmodified+1 -1
@@ -12,4 +12,4 @@ size: 936 × 1048, bounds: 1888 × 1048, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA1-spA2.snapmodified+1 -1
@@ -12,4 +12,4 @@ size: 936 × 1048, bounds: 1888 × 1048, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA1-spB1.snapmodified+2 -2
@@ -8,8 +8,8 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA1-spB2.snapmodified+2 -2
@@ -8,8 +8,8 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA2-spA1.snapmodified+1 -0
@@ -12,3 +12,4 @@ size: 936 × 1048, bounds: 1888 × 1048, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA2-spA2.snapmodified+1 -0
@@ -12,3 +12,4 @@ size: 936 × 1048, bounds: 1888 × 1048, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA2-spB1.snapmodified+2 -1
@@ -8,7 +8,8 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA2-spB2.snapmodified+2 -1
@@ -8,7 +8,8 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA-spA1.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 936 × 1048, bounds: 1888 × 1048, states: []11 size: 936 × 1048, bounds: 1888 × 1048, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 936 × 1048, bounds: 1888 × 1048, states: []14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA-spA2.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 936 × 1048, bounds: 1888 × 1048, states: []11 size: 936 × 1048, bounds: 1888 × 1048, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 936 × 1048, bounds: 1888 × 1048, states: []14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA-spB1.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 936 × 1048, bounds: 1888 × 1048, states: []14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA-spB2.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 936 × 1048, bounds: 1888 × 1048, states: []14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAN-spA1.snapmodified+1 -0
@@ -12,3 +12,4 @@ size: 936 × 1048, bounds: 1888 × 1048, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAN-spA2.snapmodified+1 -0
@@ -12,3 +12,4 @@ size: 936 × 1048, bounds: 1888 × 1048, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAN-spB1.snapmodified+2 -1
@@ -8,7 +8,8 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAN-spB2.snapmodified+2 -1
@@ -8,7 +8,8 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1-spA1.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 936 × 1048, bounds: 1888 × 1048, states: []11 size: 936 × 1048, bounds: 1888 × 1048, states: []
12 12
13 post-map configures:13 post-map configures:
14+size: 936 × 1048, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1-spA2.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 936 × 1048, bounds: 1888 × 1048, states: []11 size: 936 × 1048, bounds: 1888 × 1048, states: []
12 12
13 post-map configures:13 post-map configures:
14+size: 936 × 1048, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1-spB1.snapmodified+1 -1
@@ -8,6 +8,6 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1-spB2.snapmodified+1 -1
@@ -8,6 +8,6 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2-spA1.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 936 × 1048, bounds: 1888 × 1048, states: []11 size: 936 × 1048, bounds: 1888 × 1048, states: []
12 12
13 post-map configures:13 post-map configures:
14+size: 936 × 1048, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2-spA2.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 936 × 1048, bounds: 1888 × 1048, states: []11 size: 936 × 1048, bounds: 1888 × 1048, states: []
12 12
13 post-map configures:13 post-map configures:
14+size: 936 × 1048, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2-spB1.snapmodified+1 -1
@@ -8,6 +8,6 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2-spB2.snapmodified+1 -1
@@ -8,6 +8,6 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN-spA1.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 936 × 1048, bounds: 1888 × 1048, states: []11 size: 936 × 1048, bounds: 1888 × 1048, states: []
12 12
13 post-map configures:13 post-map configures:
14+size: 936 × 1048, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN-spA2.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 936 × 1048, bounds: 1888 × 1048, states: []11 size: 936 × 1048, bounds: 1888 × 1048, states: []
12 12
13 post-map configures:13 post-map configures:
14+size: 936 × 1048, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN-spB1.snapmodified+1 -1
@@ -8,6 +8,6 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN-spB2.snapmodified+1 -1
@@ -8,6 +8,6 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU-spA1.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 936 × 1048, bounds: 1888 × 1048, states: []11 size: 936 × 1048, bounds: 1888 × 1048, states: []
12 12
13 post-map configures:13 post-map configures:
14+size: 936 × 1048, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU-spA2.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 936 × 1048, bounds: 1888 × 1048, states: []11 size: 936 × 1048, bounds: 1888 × 1048, states: []
12 12
13 post-map configures:13 post-map configures:
14+size: 936 × 1048, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU-spB1.snapmodified+1 -1
@@ -8,6 +8,6 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU-spB2.snapmodified+1 -1
@@ -8,6 +8,6 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-spA1.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-spA2.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-spB1.snapmodified+2 -1
@@ -8,6 +8,7 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-spB2.snapmodified+2 -1
@@ -8,6 +8,7 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA1-spA1.snapmodified+1 -1
@@ -12,4 +12,4 @@ size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA1-spA2.snapmodified+1 -1
@@ -12,4 +12,4 @@ size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA1-spB1.snapmodified+2 -2
@@ -8,8 +8,8 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA1-spB2.snapmodified+2 -2
@@ -8,8 +8,8 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA2-spA1.snapmodified+1 -0
@@ -12,3 +12,4 @@ size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA2-spA2.snapmodified+1 -0
@@ -12,3 +12,4 @@ size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA2-spB1.snapmodified+2 -1
@@ -8,7 +8,8 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA2-spB2.snapmodified+2 -1
@@ -8,7 +8,8 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAA-spA1.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 936 × 1048, bounds: 1888 × 1048, states: []14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAA-spA2.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 936 × 1048, bounds: 1888 × 1048, states: []14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAA-spB1.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 936 × 1048, bounds: 1888 × 1048, states: []14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAA-spB2.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14-size: 936 × 1048, bounds: 1888 × 1048, states: []14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAN-spA1.snapmodified+1 -0
@@ -12,3 +12,4 @@ size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAN-spA2.snapmodified+1 -0
@@ -12,3 +12,4 @@ size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAN-spB1.snapmodified+2 -1
@@ -8,7 +8,8 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAN-spB2.snapmodified+2 -1
@@ -8,7 +8,8 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB1-spA1.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB1-spA2.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB1-spB1.snapmodified+2 -1
@@ -8,6 +8,7 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB1-spB2.snapmodified+2 -1
@@ -8,6 +8,7 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB2-spA1.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB2-spA2.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB2-spB1.snapmodified+2 -1
@@ -8,6 +8,7 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsB2-spB2.snapmodified+2 -1
@@ -8,6 +8,7 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBN-spA1.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBN-spA2.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBN-spB1.snapmodified+2 -1
@@ -8,6 +8,7 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBN-spB2.snapmodified+2 -1
@@ -8,6 +8,7 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBU-spA1.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBU-spA2.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBU-spB1.snapmodified+2 -1
@@ -8,6 +8,7 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsBU-spB2.snapmodified+2 -1
@@ -8,6 +8,7 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-spA1.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 936 × 1048, bounds: 1888 × 1048, states: []11 size: 936 × 1048, bounds: 1888 × 1048, states: []
12 12
13 post-map configures:13 post-map configures:
14+size: 936 × 1048, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-spA2.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 936 × 1048, bounds: 1888 × 1048, states: []11 size: 936 × 1048, bounds: 1888 × 1048, states: []
12 12
13 post-map configures:13 post-map configures:
14+size: 936 × 1048, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-spB1.snapmodified+1 -1
@@ -8,6 +8,6 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-spB2.snapmodified+1 -1
@@ -8,6 +8,6 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA1-spA1.snapmodified+1 -1
@@ -12,4 +12,4 @@ size: 936 × 1048, bounds: 1888 × 1048, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA1-spA2.snapmodified+1 -1
@@ -12,4 +12,4 @@ size: 936 × 1048, bounds: 1888 × 1048, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA1-spB1.snapmodified+2 -2
@@ -8,8 +8,8 @@ final monitor: headless-1
8 final workspace: 0 (ws-1)8 final workspace: 0 (ws-1)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated]15+size: 0 × 0, bounds: 1280 × 720, states: [Activated]
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA1-spB2.snapmodified+2 -2
@@ -8,8 +8,8 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]14 size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen]
15-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA2-spA1.snapmodified+1 -0
@@ -12,3 +12,4 @@ size: 936 × 1048, bounds: 1888 × 1048, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA2-spA2.snapmodified+1 -0
@@ -12,3 +12,4 @@ size: 936 × 1048, bounds: 1888 × 1048, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA2-spB1.snapmodified+2 -1
@@ -8,7 +8,8 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsA2-spB2.snapmodified+2 -1
@@ -8,7 +8,8 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAA-spA1.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 936 × 1048, bounds: 1888 × 1048, states: []11 size: 936 × 1048, bounds: 1888 × 1048, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 936 × 1048, bounds: 1888 × 1048, states: []14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAA-spA2.snapmodified+1 -1
@@ -11,4 +11,4 @@ initial configure:
11 size: 936 × 1048, bounds: 1888 × 1048, states: []11 size: 936 × 1048, bounds: 1888 × 1048, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 936 × 1048, bounds: 1888 × 1048, states: []14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAA-spB1.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 936 × 1048, bounds: 1888 × 1048, states: []14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAA-spB2.snapmodified+2 -2
@@ -8,7 +8,7 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
14-size: 936 × 1048, bounds: 1888 × 1048, states: []14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAN-spA1.snapmodified+1 -0
@@ -12,3 +12,4 @@ size: 936 × 1048, bounds: 1888 × 1048, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAN-spA2.snapmodified+1 -0
@@ -12,3 +12,4 @@ size: 936 × 1048, bounds: 1888 × 1048, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAN-spB1.snapmodified+2 -1
@@ -8,7 +8,8 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAN-spB2.snapmodified+2 -1
@@ -8,7 +8,8 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures:
14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]14 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
15+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB1-spA1.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB1-spA2.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB1-spB1.snapmodified+2 -1
@@ -8,6 +8,7 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB1-spB2.snapmodified+2 -1
@@ -8,6 +8,7 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB2-spA1.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB2-spA2.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB2-spB1.snapmodified+2 -1
@@ -8,6 +8,7 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsB2-spB2.snapmodified+2 -1
@@ -8,6 +8,7 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBN-spA1.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBN-spA2.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11 size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBN-spB1.snapmodified+2 -1
@@ -8,6 +8,7 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBN-spB2.snapmodified+2 -1
@@ -8,6 +8,7 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen]11+size: 1920 × 1080, bounds: 1920 × 1080, states: [Fullscreen]
12 12
13 post-map configures:13 post-map configures:
14+size: 0 × 0, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBU-spA1.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 936 × 1048, bounds: 1888 × 1048, states: []11 size: 936 × 1048, bounds: 1888 × 1048, states: []
12 12
13 post-map configures:13 post-map configures:
14+size: 936 × 1048, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBU-spA2.snapmodified+1 -0
@@ -11,3 +11,4 @@ initial configure:
11 size: 936 × 1048, bounds: 1888 × 1048, states: []11 size: 936 × 1048, bounds: 1888 × 1048, states: []
12 12
13 post-map configures:13 post-map configures:
14+size: 936 × 1048, bounds: 1920 × 1080, states: []
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBU-spB1.snapmodified+1 -1
@@ -8,6 +8,6 @@ final monitor: headless-2
8 final workspace: 0 (ws-2)8 final workspace: 0 (ws-2)
9 9
10 initial configure:10 initial configure:
11-size: 936 × 1048, bounds: 1888 × 1048, states: []11+size: 0 × 0, bounds: 1920 × 1080, states: []
12 12
13 post-map configures:13 post-map configures: