diff options
Diffstat (limited to 'sway/tree/layout.c')
-rw-r--r-- | sway/tree/layout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/tree/layout.c b/sway/tree/layout.c index 9485e675..20815654 100644 --- a/sway/tree/layout.c +++ b/sway/tree/layout.c | |||
@@ -843,7 +843,7 @@ struct sway_container *container_split(struct sway_container *child, | |||
843 | } | 843 | } |
844 | if (child->type == C_WORKSPACE && child->children->length == 0) { | 844 | if (child->type == C_WORKSPACE && child->children->length == 0) { |
845 | // Special case: this just behaves like splitt | 845 | // Special case: this just behaves like splitt |
846 | child->prev_layout = child->layout; | 846 | child->prev_split_layout = child->layout; |
847 | child->layout = layout; | 847 | child->layout = layout; |
848 | return child; | 848 | return child; |
849 | } | 849 | } |
@@ -854,7 +854,7 @@ struct sway_container *container_split(struct sway_container *child, | |||
854 | 854 | ||
855 | remove_gaps(child); | 855 | remove_gaps(child); |
856 | 856 | ||
857 | cont->prev_layout = L_NONE; | 857 | cont->prev_split_layout = L_NONE; |
858 | cont->width = child->width; | 858 | cont->width = child->width; |
859 | cont->height = child->height; | 859 | cont->height = child->height; |
860 | cont->x = child->x; | 860 | cont->x = child->x; |