Rename set_maximized functions to set_tiled

This commit is contained in:
Ryan Dwyer 2018-05-26 09:22:10 +10:00
parent 5d69a56209
commit 02de2a6f65
6 changed files with 16 additions and 16 deletions

View file

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