Don't unmaximize floating views

This commit is contained in:
Ryan Dwyer 2018-05-27 23:43:05 +10:00
parent 40af5d81a1
commit 97672295ed
6 changed files with 0 additions and 40 deletions

View file

@ -920,9 +920,6 @@ void container_set_floating(struct sway_container *container, bool enable) {
container_add_child(workspace, container);
container->width = container->parent->width;
container->height = container->parent->height;
if (container->type == C_VIEW) {
view_set_tiled(container->sway_view, true);
}
container->is_sticky = false;
container_reap_empty_recursive(workspace->sway_workspace->floating);
}