aboutsummaryrefslogtreecommitdiff
path: root/src/command
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-04-18 15:36:29 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2020-04-18 15:36:29 +0200
commitbf300db004fbced79fe30ea1947656117f462947 (patch)
treeb6535f1ef0f08934a82af59f5996624220571038 /src/command
parent8fcca81755982b3d3cbc16161ab8a711dba2a304 (diff)
downloadriver-bf300db004fbced79fe30ea1947656117f462947.tar.gz
river-bf300db004fbced79fe30ea1947656117f462947.tar.xz
Arrange on sending view to output
Diffstat (limited to 'src/command')
-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);
}
}