Merge pull request #1829 from RyanDwyer/move-fullscreen-view

Keep view fullscreened when moving to another workspace
This commit is contained in:
emersion 2018-04-20 12:30:24 +01:00 committed by GitHub
commit b2402acca0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {