diff options
Diffstat (limited to 'sway/tree/workspace.c')
-rw-r--r-- | sway/tree/workspace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/workspace.c b/sway/tree/workspace.c index bb1ded22..378bfc5d 100644 --- a/sway/tree/workspace.c +++ b/sway/tree/workspace.c @@ -399,7 +399,7 @@ bool workspace_switch(struct sway_workspace *workspace, workspace_add_floating(workspace, floater); if (&floater->node == focus) { seat_set_focus(seat, NULL); - seat_set_focus(seat, &floater->node); + seat_set_focus_container(seat, floater); } --i; } |