aboutsummaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorgibberish <gbjgms@gmail.com>2025-06-16 17:23:29 +0700
committerIvan Molodetskikh <yalterz@gmail.com>2025-08-27 09:17:58 +0300
commite038b8770a17b67cbf9c9d007a1f3a9ac0b53c60 (patch)
tree3a23444922e8b794ecb584374b39e71c2c661caf /src/tests
parentf6f4bf97c368d9a8539137896f786291d859cadf (diff)
downloadniri-e038b8770a17b67cbf9c9d007a1f3a9ac0b53c60.tar.gz
niri-e038b8770a17b67cbf9c9d007a1f3a9ac0b53c60.tar.bz2
niri-e038b8770a17b67cbf9c9d007a1f3a9ac0b53c60.zip
Fix focus=false for move-column-to-workspace*, add to move-window-to-workspace-up/down
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/floating.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/floating.rs b/src/tests/floating.rs
index 81e507f1..b2eaabfb 100644
--- a/src/tests/floating.rs
+++ b/src/tests/floating.rs
@@ -349,7 +349,7 @@ fn moving_across_workspaces_doesnt_cancel_resize() {
// Move to a different workspace before the window has a chance to respond. This will remove it
// from one floating layout and add into a different one, potentially causing a size request.
- f.niri().layout.move_to_workspace_down();
+ f.niri().layout.move_to_workspace_down(true);
// Drop the Activated state to force a configure.
f.niri_focus_output(2);
f.double_roundtrip(id);
@@ -369,7 +369,7 @@ fn moving_across_workspaces_doesnt_cancel_resize() {
// Focus, adding Activated, and move to workspace down, causing removing and adding to a
// floating layout.
f.niri_focus_output(1);
- f.niri().layout.move_to_workspace_down();
+ f.niri().layout.move_to_workspace_down(true);
f.double_roundtrip(id);
// This should request the current size (300 × 300) since the window responded to the change.