diff options
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r-- | sway/tree/container.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c index d19c857c..3614d4e7 100644 --- a/sway/tree/container.c +++ b/sway/tree/container.c | |||
@@ -935,7 +935,7 @@ void container_set_floating(struct sway_container *container, bool enable) { | |||
935 | container_add_child(workspace->sway_workspace->floating, container); | 935 | container_add_child(workspace->sway_workspace->floating, container); |
936 | if (container->type == C_VIEW) { | 936 | if (container->type == C_VIEW) { |
937 | view_init_floating(container->sway_view); | 937 | view_init_floating(container->sway_view); |
938 | view_set_tiled(container->sway_view, true); | 938 | view_set_tiled(container->sway_view, false); |
939 | } | 939 | } |
940 | seat_set_focus(seat, seat_get_focus_inactive(seat, container)); | 940 | seat_set_focus(seat, seat_get_focus_inactive(seat, container)); |
941 | container_reap_empty_recursive(workspace); | 941 | container_reap_empty_recursive(workspace); |