Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git
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);
}
}