Fix boolean

This commit is contained in:
Ryan Dwyer 2018-07-04 20:33:38 +10:00
parent f156a25e64
commit 4cb6c368a7

View file

@ -935,7 +935,7 @@ void container_set_floating(struct sway_container *container, bool enable) {
container_add_child(workspace->sway_workspace->floating, container); container_add_child(workspace->sway_workspace->floating, container);
if (container->type == C_VIEW) { if (container->type == C_VIEW) {
view_init_floating(container->sway_view); view_init_floating(container->sway_view);
view_set_tiled(container->sway_view, true); view_set_tiled(container->sway_view, false);
} }
seat_set_focus(seat, seat_get_focus_inactive(seat, container)); seat_set_focus(seat, seat_get_focus_inactive(seat, container));
container_reap_empty_recursive(workspace); container_reap_empty_recursive(workspace);