diff options
Diffstat (limited to 'sway/commands/floating.c')
-rw-r--r-- | sway/commands/floating.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/floating.c b/sway/commands/floating.c index d8729094..97662a18 100644 --- a/sway/commands/floating.c +++ b/sway/commands/floating.c | |||
@@ -25,7 +25,7 @@ struct cmd_results *cmd_floating(int argc, char **argv) { | |||
25 | // Wrap the workspace's children in a container so we can float it | 25 | // Wrap the workspace's children in a container so we can float it |
26 | container = workspace_wrap_children(workspace); | 26 | container = workspace_wrap_children(workspace); |
27 | workspace->layout = L_HORIZ; | 27 | workspace->layout = L_HORIZ; |
28 | seat_set_focus(config->handler_context.seat, &container->node); | 28 | seat_set_focus_container(config->handler_context.seat, container); |
29 | } | 29 | } |
30 | 30 | ||
31 | // If the container is in a floating split container, | 31 | // If the container is in a floating split container, |