diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2018-05-31 12:07:54 -0400 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2018-05-31 12:07:54 -0400 |
commit | e13c94f2dd375fee943bf676ab65ecf2b7cffbde (patch) | |
tree | 7e478c7774d2ce0f3a03b15e4c6c49049ff66b1d | |
parent | 633bee9019462ab7225e027c9ff84e6c06923a9d (diff) |
Fix typo
-rw-r--r-- | sway/tree/layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/layout.c b/sway/tree/layout.c index 6ee8b33b..b175f567 100644 --- a/sway/tree/layout.c +++ b/sway/tree/layout.c @@ -315,7 +315,7 @@ static void move_out_of_tabs_stacks(struct sway_container *container, if (container->parent == current->parent && current->parent->children->length == 1) { wlr_log(L_DEBUG, "Changing layout of %zd", current->parent->id); - current->parent->layout = move_dir = + current->parent->layout = move_dir == MOVE_LEFT || move_dir == MOVE_RIGHT ? L_HORIZ : L_VERT; if (current->parent->type == C_WORKSPACE) { arrange_workspace(current->parent); |