From bf300db004fbced79fe30ea1947656117f462947 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Sat, 18 Apr 2020 15:36:29 +0200 Subject: [PATCH] Arrange on sending view to output --- src/command/send_to_output.zig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } }