mirror of
https://github.com/swaywm/sway.git
synced 2024-11-10 20:44:01 +01:00
Fix crash moving out of tab container
This commit is contained in:
parent
456b91600d
commit
f48999dd24
@ -289,7 +289,7 @@ static void move_out_of_tabs_stacks(struct sway_container *container,
|
||||
}
|
||||
|
||||
wlr_log(WLR_DEBUG, "Moving out of tab/stack into a split");
|
||||
if (container->parent) {
|
||||
if (current->parent) {
|
||||
struct sway_container *new_parent =
|
||||
container_split(current->parent, layout);
|
||||
container_insert_child(new_parent, container, offs < 0 ? 0 : 1);
|
||||
|
Loading…
Reference in New Issue
Block a user