diff options
Diffstat (limited to 'sway/container.c')
-rw-r--r-- | sway/container.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/container.c b/sway/container.c index 0a89f634..0a75643d 100644 --- a/sway/container.c +++ b/sway/container.c @@ -150,6 +150,7 @@ swayc_t *new_container(swayc_t *child, enum swayc_layouts layout) { // give them proper layouts cont->layout = workspace->layout; workspace->layout = layout; + set_focused_container_for(workspace, get_focused_view(workspace)); } else { // Or is built around container swayc_t *parent = replace_child(child, cont); if (parent) { |