floating: Remember and restore window size
Browse files at this commitf4f2a1f6deeffa5c13d871c534ac99ea398e9175Parent: a440805144 changed files +365 -172
- src/layout/floating.rs +22 -15
- src/layout/mod.rs +19 -15
- src/layout/tile.rs +15 -0
- src/tests/fixture.rs +8 -0
- src/tests/floating.rs +239 -4
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spA1.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spA2.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spB1.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spA1.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spA2.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spB1.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spA1.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spA2.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spB1.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spB2.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spA1.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spA2.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spB1.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spB2.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAA-spA1.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAA-spA2.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAA-spB1.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAA-spB2.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAA-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAA-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBU-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBU-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsAA-spA1.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsAA-spA2.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsAA-spB1.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsAA-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsBU-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsAA-spA1.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsAA-spA2.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsAA-spB1.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsAA-spB2.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsAA-spA1.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsAA-spA2.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsAA-spB1.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsAA-spB2.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsAA-spA1.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsAA-spA2.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsAA-spB1.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsAA-spB2.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsAA-spA1.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsAA-spA2.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsAA-spB1.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsAA-spB2.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsAA-spA1.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsAA-spA2.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsAA-spB1.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsAA-spB2.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsAA-spA1.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsAA-spA2.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsAA-spB1.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsAA-spB2.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsAA-spA1.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsAA-spA2.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsAA-spB1.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsAA-spB2.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsAA-spA1.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsAA-spA2.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsAA-spB1.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsAA-spB2.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsAA-spA1.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsAA-spA2.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsAA-spB1.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsAA-spB2.snap +1 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAA-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAA-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB1-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB1-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB2-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB2-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBN-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBN-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBU-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBU-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAA-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAA-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB1-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB1-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB2-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB2-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBN-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBN-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBU-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBU-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAA-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAA-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBU-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBU-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAA-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAA-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB1-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB1-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB2-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB2-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBN-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBN-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBU-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBU-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAA-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAA-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBU-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBU-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAA-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAA-spB2.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBU-spB1.snap +0 -1
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBU-spB2.snap +0 -1
- src/window/mapped.rs +5 -0
src/layout/floating.rsmodified+22 -15
| @@ -366,24 +366,27 @@ impl<W: LayoutElement> FloatingSpace<W> { | |||
| 366 | ) { | 366 | ) { |
| 367 | tile.update_config(self.scale, self.options.clone()); | 367 | tile.update_config(self.scale, self.options.clone()); |
| 368 | 368 | ||
| 369 | + // Restore the previous floating window size, and in case the tile is fullscreen, | ||
| 370 | + // unfullscreen it. | ||
| 371 | + let floating_size = tile.floating_window_size(); | ||
| 369 | let win = tile.window_mut(); | 372 | let win = tile.window_mut(); |
| 370 | - let size = if win.is_pending_fullscreen() { | 373 | + let mut size = if win.is_pending_fullscreen() { |
| 371 | - let mut size = Size::from((0, 0)); | 374 | + // If the window was fullscreen without a floating size, ask for (0, 0). |
| 372 | - | 375 | + floating_size.unwrap_or_default() |
| 373 | - // Make sure fixed-size through window rules keeps working. | ||
| 374 | - let min_size = win.min_size(); | ||
| 375 | - let max_size = win.max_size(); | ||
| 376 | - if min_size.w == max_size.w { | ||
| 377 | - size.w = min_size.w; | ||
| 378 | - } | ||
| 379 | - if min_size.h == max_size.h { | ||
| 380 | - size.h = min_size.h; | ||
| 381 | - } | ||
| 382 | - | ||
| 383 | - size | ||
| 384 | } else { | 376 | } else { |
| 385 | - win.size() | 377 | + // If the window wasn't fullscreen without a floating size (e.g. it was tiled before), |
| 378 | + // ask for the current size. | ||
| 379 | + floating_size.unwrap_or_else(|| win.size_to_request()) | ||
| 386 | }; | 380 | }; |
| 381 | + // Make sure fixed-size through window rules keeps working. | ||
| 382 | + let min_size = win.min_size(); | ||
| 383 | + let max_size = win.max_size(); | ||
| 384 | + if min_size.w != 0 && min_size.w == max_size.w { | ||
| 385 | + size.w = min_size.w; | ||
| 386 | + } | ||
| 387 | + if min_size.h != 0 && min_size.h == max_size.h { | ||
| 388 | + size.h = min_size.h; | ||
| 389 | + } | ||
| 387 | win.request_size_once(size, true); | 390 | win.request_size_once(size, true); |
| 388 | 391 | ||
| 389 | if activate || self.tiles.is_empty() { | 392 | if activate || self.tiles.is_empty() { |
| @@ -761,6 +764,10 @@ impl<W: LayoutElement> FloatingSpace<W> { | |||
| 761 | tile.update_window(); | 764 | tile.update_window(); |
| 762 | data.update(tile); | 765 | data.update(tile); |
| 763 | 766 | ||
| 767 | + // Update the stored floating window size. | ||
| 768 | + let floating_size = tile.window().size_to_request(); | ||
| 769 | + tile.set_floating_window_size(floating_size); | ||
| 770 | + | ||
| 764 | // When resizing by top/left edge, update the position accordingly. | 771 | // When resizing by top/left edge, update the position accordingly. |
| 765 | if let Some(resize) = resize { | 772 | if let Some(resize) = resize { |
| 766 | let mut offset = Point::from((0., 0.)); | 773 | let mut offset = Point::from((0., 0.)); |
src/layout/mod.rsmodified+19 -15
| @@ -1152,6 +1152,12 @@ impl<W: LayoutElement> Layout<W> { | |||
| 1152 | if let Some(InteractiveMoveState::Moving(move_)) = &mut self.interactive_move { | 1152 | if let Some(InteractiveMoveState::Moving(move_)) = &mut self.interactive_move { |
| 1153 | if move_.tile.window().id() == window { | 1153 | if move_.tile.window().id() == window { |
| 1154 | move_.tile.update_window(); | 1154 | move_.tile.update_window(); |
| 1155 | + | ||
| 1156 | + // Update the floating size in case the window resizes itself during an interactive | ||
| 1157 | + // move. | ||
| 1158 | + let floating_size = move_.tile.window().size_to_request(); | ||
| 1159 | + move_.tile.set_floating_window_size(floating_size); | ||
| 1160 | + | ||
| 1155 | return; | 1161 | return; |
| 1156 | } | 1162 | } |
| 1157 | } | 1163 | } |
| @@ -3254,35 +3260,33 @@ impl<W: LayoutElement> Layout<W> { | |||
| 3254 | Rc::new(Options::clone(&self.options).adjusted_for_scale(scale)), | 3260 | Rc::new(Options::clone(&self.options).adjusted_for_scale(scale)), |
| 3255 | ); | 3261 | ); |
| 3256 | 3262 | ||
| 3257 | - // Unfullscreen and let the window pick a natural size. | 3263 | + // Unfullscreen. |
| 3258 | - // | 3264 | + let floating_size = tile.floating_window_size(); |
| 3259 | - // TODO | 3265 | + let unfullscreen_to_floating = tile.unfullscreen_to_floating(); |
| 3260 | - // When we have floating, we will want to always send a (0, 0) size here, not just | ||
| 3261 | - // to unfullscreen. However, when implementing that, remember to check how GTK | ||
| 3262 | - // tiled window size restoration works. It seems to remember *some* last size with | ||
| 3263 | - // prefer-no-csd, and occasionally that last size can become the full-width size | ||
| 3264 | - // rather than a smaller size, which is annoying. Need to see if niri can use some | ||
| 3265 | - // heuristics to make this case behave better. | ||
| 3266 | let win = tile.window_mut(); | 3266 | let win = tile.window_mut(); |
| 3267 | if win.is_pending_fullscreen() { | 3267 | if win.is_pending_fullscreen() { |
| 3268 | - let mut size = Size::from((0, 0)); | 3268 | + // If we're unfullscreening to floating, use the stored floating size, |
| 3269 | + // otherwise use (0, 0). | ||
| 3270 | + let mut size = if unfullscreen_to_floating { | ||
| 3271 | + floating_size.unwrap_or_default() | ||
| 3272 | + } else { | ||
| 3273 | + Size::from((0, 0)) | ||
| 3274 | + }; | ||
| 3269 | 3275 | ||
| 3270 | // Make sure fixed-size through window rules keeps working. | 3276 | // Make sure fixed-size through window rules keeps working. |
| 3271 | let min_size = win.min_size(); | 3277 | let min_size = win.min_size(); |
| 3272 | let max_size = win.max_size(); | 3278 | let max_size = win.max_size(); |
| 3273 | - if min_size.w == max_size.w { | 3279 | + if min_size.w != 0 && min_size.w == max_size.w { |
| 3274 | size.w = min_size.w; | 3280 | size.w = min_size.w; |
| 3275 | } | 3281 | } |
| 3276 | - if min_size.h == max_size.h { | 3282 | + if min_size.h != 0 && min_size.h == max_size.h { |
| 3277 | size.h = min_size.h; | 3283 | size.h = min_size.h; |
| 3278 | } | 3284 | } |
| 3279 | 3285 | ||
| 3280 | win.request_size_once(size, true); | 3286 | win.request_size_once(size, true); |
| 3281 | 3287 | ||
| 3282 | // If we're unfullscreening to floating, default to the floating layout. | 3288 | // If we're unfullscreening to floating, default to the floating layout. |
| 3283 | - is_floating = tile.unfullscreen_to_floating(); | 3289 | + is_floating = unfullscreen_to_floating; |
| 3284 | - } else { | ||
| 3285 | - win.request_size_once(win.size(), true); | ||
| 3286 | } | 3290 | } |
| 3287 | 3291 | ||
| 3288 | let mut data = InteractiveMoveData { | 3292 | let mut data = InteractiveMoveData { |
src/layout/tile.rsmodified+15 -0
| @@ -54,6 +54,12 @@ pub struct Tile<W: LayoutElement> { | |||
| 54 | /// Whether the tile should float upon unfullscreening. | 54 | /// Whether the tile should float upon unfullscreening. |
| 55 | unfullscreen_to_floating: bool, | 55 | unfullscreen_to_floating: bool, |
| 56 | 56 | ||
| 57 | + /// The size that the window should assume when going floating. | ||
| 58 | + /// | ||
| 59 | + /// This is generally the last size the window had when it was floating. It can be unknown if | ||
| 60 | + /// the window starts out in the tiling layout or fullscreen. | ||
| 61 | + floating_window_size: Option<Size<i32, Logical>>, | ||
| 62 | + | ||
| 57 | /// The animation upon opening a window. | 63 | /// The animation upon opening a window. |
| 58 | open_animation: Option<OpenAnimation>, | 64 | open_animation: Option<OpenAnimation>, |
| 59 | 65 | ||
| @@ -128,6 +134,7 @@ impl<W: LayoutElement> Tile<W> { | |||
| 128 | fullscreen_backdrop: SolidColorBuffer::new((0., 0.), [0., 0., 0., 1.]), | 134 | fullscreen_backdrop: SolidColorBuffer::new((0., 0.), [0., 0., 0., 1.]), |
| 129 | fullscreen_size: Default::default(), | 135 | fullscreen_size: Default::default(), |
| 130 | unfullscreen_to_floating: false, | 136 | unfullscreen_to_floating: false, |
| 137 | + floating_window_size: None, | ||
| 131 | open_animation: None, | 138 | open_animation: None, |
| 132 | resize_animation: None, | 139 | resize_animation: None, |
| 133 | move_x_animation: None, | 140 | move_x_animation: None, |
| @@ -935,6 +942,14 @@ impl<W: LayoutElement> Tile<W> { | |||
| 935 | self.unfullscreen_to_floating = value; | 942 | self.unfullscreen_to_floating = value; |
| 936 | } | 943 | } |
| 937 | 944 | ||
| 945 | + pub fn floating_window_size(&self) -> Option<Size<i32, Logical>> { | ||
| 946 | + self.floating_window_size | ||
| 947 | + } | ||
| 948 | + | ||
| 949 | + pub fn set_floating_window_size(&mut self, floating_window_size: Size<i32, Logical>) { | ||
| 950 | + self.floating_window_size = Some(floating_window_size); | ||
| 951 | + } | ||
| 952 | + | ||
| 938 | #[cfg(test)] | 953 | #[cfg(test)] |
| 939 | pub fn verify_invariants(&self) { | 954 | pub fn verify_invariants(&self) { |
| 940 | use approx::assert_abs_diff_eq; | 955 | use approx::assert_abs_diff_eq; |
src/tests/fixture.rsmodified+8 -0
| @@ -5,6 +5,7 @@ use std::time::Duration; | |||
| 5 | use calloop::generic::Generic; | 5 | use calloop::generic::Generic; |
| 6 | use calloop::{EventLoop, Interest, LoopHandle, Mode, PostAction}; | 6 | use calloop::{EventLoop, Interest, LoopHandle, Mode, PostAction}; |
| 7 | use niri_config::Config; | 7 | use niri_config::Config; |
| 8 | +use smithay::output::Output; | ||
| 8 | 9 | ||
| 9 | use super::client::{Client, ClientId}; | 10 | use super::client::{Client, ClientId}; |
| 10 | use super::server::Server; | 11 | use super::server::Server; |
| @@ -66,6 +67,13 @@ impl Fixture { | |||
| 66 | &mut self.niri_state().niri | 67 | &mut self.niri_state().niri |
| 67 | } | 68 | } |
| 68 | 69 | ||
| 70 | + pub fn niri_output(&self, n: u8) -> Output { | ||
| 71 | + let niri = &self.state.server.state.niri; | ||
| 72 | + let idx = usize::from(n - 1); | ||
| 73 | + let output = niri.global_space.outputs().nth(idx).unwrap(); | ||
| 74 | + output.clone() | ||
| 75 | + } | ||
| 76 | + | ||
| 69 | pub fn niri_focus_output(&mut self, n: u8) { | 77 | pub fn niri_focus_output(&mut self, n: u8) { |
| 70 | let niri = &mut self.state.server.state.niri; | 78 | let niri = &mut self.state.server.state.niri; |
| 71 | let idx = usize::from(n - 1); | 79 | let idx = usize::from(n - 1); |
src/tests/floating.rsmodified+239 -4
| @@ -1,6 +1,7 @@ | |||
| 1 | use client::ClientId; | 1 | use client::ClientId; |
| 2 | use insta::assert_snapshot; | 2 | use insta::assert_snapshot; |
| 3 | use niri_ipc::SizeChange; | 3 | use niri_ipc::SizeChange; |
| 4 | +use smithay::utils::Point; | ||
| 4 | use wayland_client::protocol::wl_surface::WlSurface; | 5 | use wayland_client::protocol::wl_surface::WlSurface; |
| 5 | 6 | ||
| 6 | use super::*; | 7 | use super::*; |
| @@ -81,10 +82,10 @@ fn resize_to_different_size() { | |||
| 81 | f.niri().layout.set_column_width(SizeChange::SetFixed(500)); | 82 | f.niri().layout.set_column_width(SizeChange::SetFixed(500)); |
| 82 | f.double_roundtrip(id); | 83 | f.double_roundtrip(id); |
| 83 | 84 | ||
| 84 | - // This should request the new size, 500 × 100. | 85 | + // This should request the new size, 500 ×. |
| 85 | assert_snapshot!( | 86 | assert_snapshot!( |
| 86 | f.client(id).window(&surface).format_recent_configures(), | 87 | f.client(id).window(&surface).format_recent_configures(), |
| 87 | - @"size: 500 × 100, bounds: 1920 × 1080, states: [Activated]" | 88 | + @"size: 500 × 1048, bounds: 1920 × 1080, states: [Activated]" |
| 88 | ); | 89 | ); |
| 89 | 90 | ||
| 90 | // Focus a different output which should drop the Activated state. | 91 | // Focus a different output which should drop the Activated state. |
| @@ -93,7 +94,7 @@ fn resize_to_different_size() { | |||
| 93 | // This should request the new size since the window hasn't committed yet. | 94 | // This should request the new size since the window hasn't committed yet. |
| 94 | assert_snapshot!( | 95 | assert_snapshot!( |
| 95 | f.client(id).window(&surface).format_recent_configures(), | 96 | f.client(id).window(&surface).format_recent_configures(), |
| 96 | - @"size: 500 × 100, bounds: 1920 × 1080, states: []" | 97 | + @"size: 500 × 1048, bounds: 1920 × 1080, states: []" |
| 97 | ); | 98 | ); |
| 98 | 99 | ||
| 99 | // Ack but don't commit yet. | 100 | // Ack but don't commit yet. |
| @@ -106,7 +107,7 @@ fn resize_to_different_size() { | |||
| 106 | // This should request the new size since the window hasn't committed yet. | 107 | // This should request the new size since the window hasn't committed yet. |
| 107 | assert_snapshot!( | 108 | assert_snapshot!( |
| 108 | f.client(id).window(&surface).format_recent_configures(), | 109 | f.client(id).window(&surface).format_recent_configures(), |
| 109 | - @"size: 500 × 100, bounds: 1920 × 1080, states: [Activated]" | 110 | + @"size: 500 × 1048, bounds: 1920 × 1080, states: [Activated]" |
| 110 | ); | 111 | ); |
| 111 | 112 | ||
| 112 | // Commit but with some different size. | 113 | // Commit but with some different size. |
| @@ -272,3 +273,237 @@ fn resize_to_different_then_same() { | |||
| 272 | @"size: 300 × 300, bounds: 1920 × 1080, states: [Activated]" | 273 | @"size: 300 × 300, bounds: 1920 × 1080, states: [Activated]" |
| 273 | ); | 274 | ); |
| 274 | } | 275 | } |
| 276 | + | ||
| 277 | +#[test] | ||
| 278 | +fn restore_floating_size() { | ||
| 279 | + let (mut f, id, surface) = set_up(); | ||
| 280 | + | ||
| 281 | + f.niri().layout.toggle_window_floating(None); | ||
| 282 | + f.double_roundtrip(id); | ||
| 283 | + | ||
| 284 | + // Change size while we're floating and commit in response to the floating configure. | ||
| 285 | + let window = f.client(id).window(&surface); | ||
| 286 | + window.set_size(200, 200); | ||
| 287 | + window.ack_last_and_commit(); | ||
| 288 | + f.double_roundtrip(id); | ||
| 289 | + | ||
| 290 | + let _ = f.client(id).window(&surface).recent_configures(); | ||
| 291 | + | ||
| 292 | + // Change back to tiling. | ||
| 293 | + f.niri().layout.toggle_window_floating(None); | ||
| 294 | + f.double_roundtrip(id); | ||
| 295 | + | ||
| 296 | + // We should get a tiling size configure. | ||
| 297 | + assert_snapshot!( | ||
| 298 | + f.client(id).window(&surface).format_recent_configures(), | ||
| 299 | + @"size: 200 × 1048, bounds: 1888 × 1048, states: [Activated]" | ||
| 300 | + ); | ||
| 301 | + | ||
| 302 | + // Resize as requested. | ||
| 303 | + let window = f.client(id).window(&surface); | ||
| 304 | + let (_, configure) = window.configures_received.last().unwrap(); | ||
| 305 | + window.set_size(configure.size.0 as u16, configure.size.1 as u16); | ||
| 306 | + window.ack_last_and_commit(); | ||
| 307 | + f.roundtrip(id); | ||
| 308 | + | ||
| 309 | + // Change back to floating. | ||
| 310 | + f.niri().layout.toggle_window_floating(None); | ||
| 311 | + f.double_roundtrip(id); | ||
| 312 | + | ||
| 313 | + // We should get a configure restoring out previous 200 × 200 size. | ||
| 314 | + assert_snapshot!( | ||
| 315 | + f.client(id).window(&surface).format_recent_configures(), | ||
| 316 | + @"size: 200 × 200, bounds: 1920 × 1080, states: [Activated]" | ||
| 317 | + ); | ||
| 318 | +} | ||
| 319 | + | ||
| 320 | +#[test] | ||
| 321 | +fn moving_across_workspaces_doesnt_cancel_resize() { | ||
| 322 | + let (mut f, id, surface) = set_up(); | ||
| 323 | + | ||
| 324 | + f.niri().layout.toggle_window_floating(None); | ||
| 325 | + f.double_roundtrip(id); | ||
| 326 | + | ||
| 327 | + // Change size while we're floating and commit in response to the floating configure. | ||
| 328 | + let window = f.client(id).window(&surface); | ||
| 329 | + window.set_size(200, 200); | ||
| 330 | + window.ack_last_and_commit(); | ||
| 331 | + f.double_roundtrip(id); | ||
| 332 | + | ||
| 333 | + let _ = f.client(id).window(&surface).recent_configures(); | ||
| 334 | + | ||
| 335 | + // Request a size change to a different size. | ||
| 336 | + f.niri().layout.set_column_width(SizeChange::SetFixed(500)); | ||
| 337 | + f.double_roundtrip(id); | ||
| 338 | + | ||
| 339 | + // This should request the new size. | ||
| 340 | + assert_snapshot!( | ||
| 341 | + f.client(id).window(&surface).format_recent_configures(), | ||
| 342 | + @"size: 500 × 200, bounds: 1920 × 1080, states: [Activated]" | ||
| 343 | + ); | ||
| 344 | + | ||
| 345 | + // Move to a different workspace before the window has a chance to respond. This will remove it | ||
| 346 | + // from one floating layout and add into a different one, potentially causing a size request. | ||
| 347 | + f.niri().layout.move_to_workspace_down(); | ||
| 348 | + // Drop the Activated state to force a configure. | ||
| 349 | + f.niri_focus_output(2); | ||
| 350 | + f.double_roundtrip(id); | ||
| 351 | + | ||
| 352 | + // This should request the new size again (500 × 200) since the window hasn't responded to it. | ||
| 353 | + assert_snapshot!( | ||
| 354 | + f.client(id).window(&surface).format_recent_configures(), | ||
| 355 | + @"size: 500 × 200, bounds: 1920 × 1080, states: []" | ||
| 356 | + ); | ||
| 357 | + | ||
| 358 | + // Respond to the resize with a different size. | ||
| 359 | + let window = f.client(id).window(&surface); | ||
| 360 | + window.set_size(300, 300); | ||
| 361 | + window.ack_last_and_commit(); | ||
| 362 | + f.roundtrip(id); | ||
| 363 | + | ||
| 364 | + // Focus, adding Activated, and move to workspace down, causing removing and adding to a | ||
| 365 | + // floating layout. | ||
| 366 | + f.niri_focus_output(1); | ||
| 367 | + f.niri().layout.move_to_workspace_down(); | ||
| 368 | + f.double_roundtrip(id); | ||
| 369 | + | ||
| 370 | + // This should request the current size (300 × 300) since the window responded to the change. | ||
| 371 | + assert_snapshot!( | ||
| 372 | + f.client(id).window(&surface).format_recent_configures(), | ||
| 373 | + @"size: 300 × 300, bounds: 1920 × 1080, states: [Activated]" | ||
| 374 | + ); | ||
| 375 | +} | ||
| 376 | + | ||
| 377 | +#[test] | ||
| 378 | +fn moving_to_floating_doesnt_cancel_resize() { | ||
| 379 | + let (mut f, id, surface) = set_up(); | ||
| 380 | + let _ = f.client(id).window(&surface).recent_configures(); | ||
| 381 | + | ||
| 382 | + // Request a size change to a different size. | ||
| 383 | + f.niri().layout.set_column_width(SizeChange::SetFixed(500)); | ||
| 384 | + f.double_roundtrip(id); | ||
| 385 | + | ||
| 386 | + // This should request the new size (500 ×). | ||
| 387 | + assert_snapshot!( | ||
| 388 | + f.client(id).window(&surface).format_recent_configures(), | ||
| 389 | + @"size: 500 × 1048, bounds: 1888 × 1048, states: [Activated]" | ||
| 390 | + ); | ||
| 391 | + | ||
| 392 | + // Before the window has a chance to respond, make it floating. | ||
| 393 | + f.niri().layout.toggle_window_floating(None); | ||
| 394 | + f.double_roundtrip(id); | ||
| 395 | + | ||
| 396 | + // This should keep requesting the new size (500 ×). | ||
| 397 | + assert_snapshot!( | ||
| 398 | + f.client(id).window(&surface).format_recent_configures(), | ||
| 399 | + @"size: 500 × 1048, bounds: 1920 × 1080, states: [Activated]" | ||
| 400 | + ); | ||
| 401 | +} | ||
| 402 | + | ||
| 403 | +#[test] | ||
| 404 | +fn interactive_move_unfullscreen_to_floating_restores_size() { | ||
| 405 | + let (mut f, id, surface) = set_up(); | ||
| 406 | + | ||
| 407 | + f.niri().layout.toggle_window_floating(None); | ||
| 408 | + f.double_roundtrip(id); | ||
| 409 | + | ||
| 410 | + // Change size while we're floating and commit. | ||
| 411 | + let window = f.client(id).window(&surface); | ||
| 412 | + window.set_size(200, 200); | ||
| 413 | + window.ack_last_and_commit(); | ||
| 414 | + f.double_roundtrip(id); | ||
| 415 | + | ||
| 416 | + let _ = f.client(id).window(&surface).recent_configures(); | ||
| 417 | + | ||
| 418 | + let niri = f.niri(); | ||
| 419 | + let mapped = niri.layout.windows().next().unwrap().1; | ||
| 420 | + let window = mapped.window.clone(); | ||
| 421 | + niri.layout.set_fullscreen(&window, true); | ||
| 422 | + f.double_roundtrip(id); | ||
| 423 | + | ||
| 424 | + // This should request a fullscreen size. | ||
| 425 | + assert_snapshot!( | ||
| 426 | + f.client(id).window(&surface).format_recent_configures(), | ||
| 427 | + @"size: 1920 × 1080, bounds: 1888 × 1048, states: [Activated, Fullscreen]" | ||
| 428 | + ); | ||
| 429 | + | ||
| 430 | + // Start an interactive move which causes an unfullscreen into floating. | ||
| 431 | + let output = f.niri_output(1); | ||
| 432 | + let niri = f.niri(); | ||
| 433 | + let mapped = niri.layout.windows().next().unwrap().1; | ||
| 434 | + let window = mapped.window.clone(); | ||
| 435 | + niri.layout | ||
| 436 | + .interactive_move_begin(window.clone(), &output, Point::default()); | ||
| 437 | + niri.layout.interactive_move_update( | ||
| 438 | + &window, | ||
| 439 | + Point::from((1000., 0.)), | ||
| 440 | + output, | ||
| 441 | + Point::default(), | ||
| 442 | + ); | ||
| 443 | + f.double_roundtrip(id); | ||
| 444 | + | ||
| 445 | + // This should request the stored floating size (200 × 200). | ||
| 446 | + assert_snapshot!( | ||
| 447 | + f.client(id).window(&surface).format_recent_configures(), | ||
| 448 | + @"size: 200 × 200, bounds: 1920 × 1080, states: [Activated]" | ||
| 449 | + ); | ||
| 450 | +} | ||
| 451 | + | ||
| 452 | +#[test] | ||
| 453 | +fn resize_during_interactive_move_propagates_to_floating() { | ||
| 454 | + let (mut f, id, surface) = set_up(); | ||
| 455 | + | ||
| 456 | + f.niri().layout.toggle_window_floating(None); | ||
| 457 | + f.double_roundtrip(id); | ||
| 458 | + | ||
| 459 | + // Change size while we're floating and commit. | ||
| 460 | + let window = f.client(id).window(&surface); | ||
| 461 | + window.set_size(200, 200); | ||
| 462 | + window.ack_last_and_commit(); | ||
| 463 | + f.double_roundtrip(id); | ||
| 464 | + | ||
| 465 | + let _ = f.client(id).window(&surface).recent_configures(); | ||
| 466 | + | ||
| 467 | + // Start an interactive move. | ||
| 468 | + let output = f.niri_output(1); | ||
| 469 | + let niri = f.niri(); | ||
| 470 | + let mapped = niri.layout.windows().next().unwrap().1; | ||
| 471 | + let window_id = mapped.window.clone(); | ||
| 472 | + niri.layout | ||
| 473 | + .interactive_move_begin(window_id.clone(), &output, Point::default()); | ||
| 474 | + niri.layout.interactive_move_update( | ||
| 475 | + &window_id, | ||
| 476 | + Point::from((1000., 0.)), | ||
| 477 | + output, | ||
| 478 | + Point::default(), | ||
| 479 | + ); | ||
| 480 | + f.double_roundtrip(id); | ||
| 481 | + | ||
| 482 | + // This shouldn't request any new size. | ||
| 483 | + assert_snapshot!( | ||
| 484 | + f.client(id).window(&surface).format_recent_configures(), | ||
| 485 | + @"" | ||
| 486 | + ); | ||
| 487 | + | ||
| 488 | + // Change size while we're being interactively moved. | ||
| 489 | + let window = f.client(id).window(&surface); | ||
| 490 | + window.set_size(300, 300); | ||
| 491 | + window.commit(); | ||
| 492 | + f.double_roundtrip(id); | ||
| 493 | + | ||
| 494 | + // This shouldn't request any new size. | ||
| 495 | + assert_snapshot!( | ||
| 496 | + f.client(id).window(&surface).format_recent_configures(), | ||
| 497 | + @"" | ||
| 498 | + ); | ||
| 499 | + | ||
| 500 | + // End the interactive move, placing the window into floating. | ||
| 501 | + f.niri().layout.interactive_move_end(&window_id); | ||
| 502 | + f.double_roundtrip(id); | ||
| 503 | + | ||
| 504 | + // This should keep the new 300 × 300 size. | ||
| 505 | + assert_snapshot!( | ||
| 506 | + f.client(id).window(&surface).format_recent_configures(), | ||
| 507 | + @"size: 300 × 300, bounds: 1920 × 1080, states: [Activated]" | ||
| 508 | + ); | ||
| 509 | +} | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-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: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, 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+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: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, 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+1 -1
| @@ -12,4 +12,4 @@ size: 0 × 0, bounds: 1280 × 720, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, 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+0 -1
| @@ -12,4 +12,3 @@ size: 0 × 0, bounds: 1920 × 1080, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 15 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spB1.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-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: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, 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+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: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, 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+1 -1
| @@ -12,4 +12,4 @@ size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, 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-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: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, 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+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: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, 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+1 -1
| @@ -12,4 +12,4 @@ size: 0 × 0, bounds: 1280 × 720, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, 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+1 -1
| @@ -12,4 +12,4 @@ size: 0 × 0, bounds: 1280 × 720, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, 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-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: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, 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+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: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, 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+1 -1
| @@ -12,4 +12,4 @@ size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, 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+1 -1
| @@ -12,4 +12,4 @@ size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, 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-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: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, 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+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: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, 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+1 -1
| @@ -12,4 +12,4 @@ size: 0 × 0, bounds: 1280 × 720, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, 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+1 -1
| @@ -12,4 +12,4 @@ size: 0 × 0, bounds: 1280 × 720, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-spB1.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA-spB1.snapmodified+0 -1
| @@ -12,4 +12,3 @@ size: 0 × 0, bounds: 1920 × 1080, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 15 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA-spB2.snapmodified+0 -1
| @@ -12,4 +12,3 @@ size: 0 × 0, bounds: 1920 × 1080, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 15 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1-spB1.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2-spB1.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN-spB1.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU-spB1.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-spB1.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAA-spB1.snapmodified+0 -1
| @@ -12,4 +12,3 @@ size: 0 × 0, bounds: 1920 × 1080, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 15 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsAA-spB2.snapmodified+0 -1
| @@ -12,4 +12,3 @@ size: 0 × 0, bounds: 1920 × 1080, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 15 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBU-spB1.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-wfsBU-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsAA-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: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsAA-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: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsAA-spB1.snapmodified+1 -1
| @@ -12,4 +12,4 @@ size: 0 × 0, bounds: 1280 × 720, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsAA-spB2.snapmodified+0 -1
| @@ -12,4 +12,3 @@ size: 0 × 0, bounds: 1920 × 1080, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 15 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@wfsBU-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsAA-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: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsAA-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: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsAA-spB1.snapmodified+1 -1
| @@ -12,4 +12,4 @@ size: 0 × 0, bounds: 1280 × 720, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsF-wfsAA-spB2.snapmodified+1 -1
| @@ -12,4 +12,4 @@ size: 0 × 0, bounds: 1280 × 720, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsAA-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: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsAA-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: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsAA-spB1.snapmodified+1 -1
| @@ -12,4 +12,4 @@ size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-fsT-wfsAA-spB2.snapmodified+1 -1
| @@ -12,4 +12,4 @@ size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsAA-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: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsAA-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: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsAA-spB1.snapmodified+1 -1
| @@ -12,4 +12,4 @@ size: 0 × 0, bounds: 1280 × 720, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsF-wfsAA-spB2.snapmodified+1 -1
| @@ -12,4 +12,4 @@ size: 0 × 0, bounds: 1280 × 720, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsAA-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: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsAA-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: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsAA-spB1.snapmodified+1 -1
| @@ -12,4 +12,4 @@ size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-fsT-wfsAA-spB2.snapmodified+1 -1
| @@ -12,4 +12,4 @@ size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsAA-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: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsAA-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: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsAA-spB1.snapmodified+1 -1
| @@ -12,4 +12,4 @@ size: 0 × 0, bounds: 1280 × 720, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out1-wfsAA-spB2.snapmodified+1 -1
| @@ -12,4 +12,4 @@ size: 0 × 0, bounds: 1280 × 720, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsAA-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: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsAA-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: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsAA-spB1.snapmodified+1 -1
| @@ -12,4 +12,4 @@ size: 0 × 0, bounds: 1280 × 720, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsF-wfsAA-spB2.snapmodified+1 -1
| @@ -12,4 +12,4 @@ size: 0 × 0, bounds: 1280 × 720, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsAA-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: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsAA-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: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsAA-spB1.snapmodified+1 -1
| @@ -12,4 +12,4 @@ size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-fsT-wfsAA-spB2.snapmodified+1 -1
| @@ -12,4 +12,4 @@ size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsAA-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: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsAA-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: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsAA-spB1.snapmodified+1 -1
| @@ -12,4 +12,4 @@ size: 0 × 0, bounds: 1280 × 720, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-out2-wfsAA-spB2.snapmodified+1 -1
| @@ -12,4 +12,4 @@ size: 0 × 0, bounds: 1280 × 720, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsAA-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: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsAA-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: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsAA-spB1.snapmodified+1 -1
| @@ -12,4 +12,4 @@ size: 0 × 0, bounds: 1280 × 720, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws1-wfsAA-spB2.snapmodified+1 -1
| @@ -12,4 +12,4 @@ size: 0 × 0, bounds: 1280 × 720, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1280 × 720, states: [] | 14 | size: 0 × 0, bounds: 1280 × 720, states: [] |
| 15 | -size: 1 × 1, bounds: 1280 × 720, states: [Activated] | 15 | +size: 0 × 0, bounds: 1280 × 720, states: [Activated] |
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-spB1.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAA-spB1.snapmodified+0 -1
| @@ -12,4 +12,3 @@ size: 0 × 0, bounds: 1920 × 1080, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 15 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsAA-spB2.snapmodified+0 -1
| @@ -12,4 +12,3 @@ size: 0 × 0, bounds: 1920 × 1080, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 15 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB1-spB1.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB1-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB2-spB1.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsB2-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBN-spB1.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBN-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBU-spB1.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-fsF-wfsBU-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-spB1.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAA-spB1.snapmodified+0 -1
| @@ -12,4 +12,3 @@ size: 0 × 0, bounds: 1920 × 1080, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 15 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsAA-spB2.snapmodified+0 -1
| @@ -12,4 +12,3 @@ size: 0 × 0, bounds: 1920 × 1080, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 15 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB1-spB1.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB1-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB2-spB1.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsB2-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBN-spB1.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBN-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBU-spB1.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-fsF-wfsBU-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-spB1.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAA-spB1.snapmodified+0 -1
| @@ -12,4 +12,3 @@ size: 0 × 0, bounds: 1920 × 1080, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 15 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsAA-spB2.snapmodified+0 -1
| @@ -12,4 +12,3 @@ size: 0 × 0, bounds: 1920 × 1080, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 15 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBU-spB1.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out1-wfsBU-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-spB1.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAA-spB1.snapmodified+0 -1
| @@ -12,4 +12,3 @@ size: 0 × 0, bounds: 1920 × 1080, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 15 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsAA-spB2.snapmodified+0 -1
| @@ -12,4 +12,3 @@ size: 0 × 0, bounds: 1920 × 1080, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 15 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB1-spB1.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB1-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB2-spB1.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsB2-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBN-spB1.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBN-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBU-spB1.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-fsF-wfsBU-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-spB1.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAA-spB1.snapmodified+0 -1
| @@ -12,4 +12,3 @@ size: 0 × 0, bounds: 1920 × 1080, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 15 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsAA-spB2.snapmodified+0 -1
| @@ -12,4 +12,3 @@ size: 0 × 0, bounds: 1920 × 1080, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 15 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBU-spB1.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-out2-wfsBU-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-spB1.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAA-spB1.snapmodified+0 -1
| @@ -12,4 +12,3 @@ size: 0 × 0, bounds: 1920 × 1080, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 15 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsAA-spB2.snapmodified+0 -1
| @@ -12,4 +12,3 @@ size: 0 × 0, bounds: 1920 × 1080, states: [] | |||
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 14 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 15 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBU-spB1.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@ws2-wfsBU-spB2.snapmodified+0 -1
| @@ -11,4 +11,3 @@ initial configure: | |||
| 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] | 11 | size: 0 × 0, bounds: 1920 × 1080, states: [] |
| 12 | 12 | ||
| 13 | post-map configures: | 13 | post-map configures: |
| 14 | -size: 1 × 1, bounds: 1920 × 1080, states: [] | ||
src/window/mapped.rsmodified+5 -0
| @@ -816,6 +816,11 @@ impl LayoutElement for Mapped { | |||
| 816 | return current_size; | 816 | return current_size; |
| 817 | } | 817 | } |
| 818 | 818 | ||
| 819 | + // FIXME: Ideally, if the window doesn't have a pending resize or an uncommitted acked | ||
| 820 | + // size, we should request the current window size, rather than the requested size. This | ||
| 821 | + // will keep the window size as-is when moving to floating in the case that a window | ||
| 822 | + // changed its size in the tiling layout and then we requested a resize. However, that's | ||
| 823 | + // pretty edge-casy and I don't want to complicate this logic for that at the moment. | ||
| 819 | self.requested_size().unwrap_or(current_size) | 824 | self.requested_size().unwrap_or(current_size) |
| 820 | } | 825 | } |
| 821 | 826 | ||