diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-08-06 11:30:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-06 11:30:14 -0400 |
commit | 1a8bee68b40f641f57adc97d0f2ffcf5e2ed544d (patch) | |
tree | 3df803a95c0a13f4dc9b627db505ba50d5e6a6d2 /sway/tree/layout.c | |
parent | 0cd418ba42bf7fa9570a2c1c09cea153d3337c7a (diff) | |
parent | f7c21451dfa7c4ffdce1307b5856707a0ed40405 (diff) |
Merge pull request #2392 from ianyfan/commands
Fix commands: criteria, layout, move, workspace
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 07de9664..28cdc71e 100644 --- a/sway/tree/layout.c +++ b/sway/tree/layout.c @@ -859,7 +859,7 @@ struct sway_container *container_split(struct sway_container *child, } if (child->type == C_WORKSPACE && child->children->length == 0) { // Special case: this just behaves like splitt - child->prev_layout = child->layout; + child->prev_split_layout = child->layout; child->layout = layout; return child; } @@ -870,7 +870,7 @@ struct sway_container *container_split(struct sway_container *child, remove_gaps(child); - cont->prev_layout = L_NONE; + cont->prev_split_layout = L_NONE; cont->width = child->width; cont->height = child->height; cont->x = child->x; |