Arrange on sending view to output

This commit is contained in:
Isaac Freund 2020-04-18 15:36:29 +02:00
parent 8fcca81755
commit bf300db004
No known key found for this signature in database
GPG key ID: 86DED400DDFD7A11

View file

@ -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);
}
}