aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/floating.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-09-06 12:56:21 +0200
committerGitHub <noreply@github.com>2018-09-06 12:56:21 +0200
commit8e2a2e5ca457c73a62857bd9860c8e34d07ab78e (patch)
treeff0b87cfe7158e00501e9dc8a571e3b8cce2dbe0 /sway/commands/floating.c
parent6ab38ba098cbdbc88dd0460dcd24b24c2c548d07 (diff)
parent908095ef9a479cafaf7d815824f243b4576ff1bb (diff)
downloadsway-8e2a2e5ca457c73a62857bd9860c8e34d07ab78e.tar.xz
Merge pull request #2589 from RyanDwyer/seat-set-focus-type
Introduce seat_set_focus_container and seat_set_focus_workspace
Diffstat (limited to 'sway/commands/floating.c')
-rw-r--r--sway/commands/floating.c2
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) {
// Wrap the workspace's children in a container so we can float it
container = workspace_wrap_children(workspace);
workspace->layout = L_HORIZ;
- seat_set_focus(config->handler_context.seat, &container->node);
+ seat_set_focus_container(config->handler_context.seat, container);
}
// If the container is in a floating split container,