diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-05-27 23:43:05 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-06-01 23:14:58 +1000 |
commit | 97672295ed50d1d6272876c4a3b6b5607cab05c6 (patch) | |
tree | 00b7e77be7e7b1323f494a6e6e075490e37605b1 /sway/tree/container.c | |
parent | Fix getting adjacent output (diff) | |
download | sway-97672295ed50d1d6272876c4a3b6b5607cab05c6.tar.gz sway-97672295ed50d1d6272876c4a3b6b5607cab05c6.tar.zst sway-97672295ed50d1d6272876c4a3b6b5607cab05c6.zip |
Don't unmaximize floating views
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r-- | sway/tree/container.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c index 4e041508..9e70da09 100644 --- a/sway/tree/container.c +++ b/sway/tree/container.c | |||
@@ -920,9 +920,6 @@ void container_set_floating(struct sway_container *container, bool enable) { | |||
920 | container_add_child(workspace, container); | 920 | container_add_child(workspace, container); |
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) { | ||
924 | view_set_tiled(container->sway_view, true); | ||
925 | } | ||
926 | container->is_sticky = false; | 923 | container->is_sticky = false; |
927 | container_reap_empty_recursive(workspace->sway_workspace->floating); | 924 | container_reap_empty_recursive(workspace->sway_workspace->floating); |
928 | } | 925 | } |