From e038b8770a17b67cbf9c9d007a1f3a9ac0b53c60 Mon Sep 17 00:00:00 2001 From: gibberish Date: Mon, 16 Jun 2025 17:23:29 +0700 Subject: Fix focus=false for move-column-to-workspace*, add to move-window-to-workspace-up/down --- src/tests/floating.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tests') 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. -- cgit