commit b2402acca02b36524c459926785c71c4d9142720
parent 7434c52421a0ec51f4cf7d262c4c5efa9ea68243
Author: emersion <contact@emersion.fr>
Date: Fri, 20 Apr 2018 12:30:24 +0100
Merge pull request #1829 from RyanDwyer/move-fullscreen-view
Keep view fullscreened when moving to another workspace
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sway/tree/layout.c b/sway/tree/layout.c
@@ -150,8 +150,8 @@ void container_add_child(struct sway_container *parent,
parent, parent->type, parent->width, parent->height);
struct sway_container *old_parent = child->parent;
list_add(parent->children, child);
- container_handle_fullscreen_reparent(child, old_parent);
child->parent = parent;
+ container_handle_fullscreen_reparent(child, old_parent);
}
struct sway_container *container_remove_child(struct sway_container *child) {