aboutsummaryrefslogtreecommitdiff
path: root/src/command/send_to_output.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/command/send_to_output.zig')
-rw-r--r--src/command/send_to_output.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/command/send_to_output.zig b/src/command/send_to_output.zig
index 55787a5..09ce7ad 100644
--- a/src/command/send_to_output.zig
+++ b/src/command/send_to_output.zig
@@ -35,7 +35,8 @@ pub fn sendToOutput(seat: *Seat, arg: Arg) void {
target_output.views.push(view_node);
view.output = target_output;
- // Focus whatever's next in the focus stack
+ // Handle the change and focus whatever's next in the focus stack
+ root.arrange();
seat.focus(null);
}
}