aboutsummaryrefslogtreecommitdiff
path: root/sway/layout.c
diff options
context:
space:
mode:
authorD.B <thejan.2009@gmail.com>2016-10-10 20:44:09 +0200
committerDrew DeVault <sir@cmpwn.com>2016-12-04 08:31:34 -0500
commit6fb4b6737a793672129bb621d48652cc5e42059e (patch)
tree58ef0b90988625bc0601bfc8b73d6927036ea08c /sway/layout.c
parent5778c59a2f302071fd781683db57a97b51396c87 (diff)
add workspace_layout to container
Add swayc_change_layout function, which changes either layout or workspace_layout, depending on the container type.
Diffstat (limited to 'sway/layout.c')
-rw-r--r--sway/layout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/layout.c b/sway/layout.c
index 4f2ea09a..b37b82da 100644
--- a/sway/layout.c
+++ b/sway/layout.c
@@ -302,6 +302,7 @@ void move_container(swayc_t *container, enum movement_direction dir) {
}
// Change parent layout if we need to
if (parent->children->length == 1 && parent->layout != layout) {
+ /* swayc_change_layout(parent, layout); */
parent->layout = layout;
continue;
}