diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-05-26 09:22:10 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-06-01 23:14:58 +1000 |
commit | 02de2a6f65c189bf563cca5b4d3fbc11826ea7f7 (patch) | |
tree | 569a148fde1ff86e9fdb68e374f5661a96ff7c37 /sway/tree/container.c | |
parent | Prevent splitting a floating view (diff) | |
download | sway-02de2a6f65c189bf563cca5b4d3fbc11826ea7f7.tar.gz sway-02de2a6f65c189bf563cca5b4d3fbc11826ea7f7.tar.zst sway-02de2a6f65c189bf563cca5b4d3fbc11826ea7f7.zip |
Rename set_maximized functions to set_tiled
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 532722e8..12f74e37 100644 --- a/sway/tree/container.c +++ b/sway/tree/container.c | |||
@@ -921,7 +921,7 @@ void container_set_floating(struct sway_container *container, bool enable) { | |||
921 | container->width = container->parent->width; | 921 | container->width = container->parent->width; |
922 | container->height = container->parent->height; | 922 | container->height = container->parent->height; |
923 | if (container->type == C_VIEW) { | 923 | if (container->type == C_VIEW) { |
924 | view_set_maximized(container->sway_view, true); | 924 | view_set_tiled(container->sway_view, true); |
925 | } | 925 | } |
926 | container->is_sticky = false; | 926 | container->is_sticky = false; |
927 | container_reap_empty_recursive(workspace->sway_workspace->floating); | 927 | container_reap_empty_recursive(workspace->sway_workspace->floating); |