]> git.sur5r.net Git - i3/i3/commit
attach_to_workspace: set new parent before tree_render 3557/head
authorOrestis Floros <orestisf1993@gmail.com>
Wed, 12 Dec 2018 17:09:39 +0000 (19:09 +0200)
committerOrestis Floros <orestisf1993@gmail.com>
Wed, 12 Dec 2018 17:12:01 +0000 (19:12 +0200)
commit605b6ba00f90ea5e0fb829101cff25f565e77c6b
tree25d8ccb70ad90212c509b49016c005ff7dcc74e7
parent376833db45eb272b8370e7b256e461e47c460fed
attach_to_workspace: set new parent before tree_render

on_remove_child calls tree_close_internal which calls tree_render and
the tree is in an invalid state if con->parent still points to the old
parent.

Fixes #3556
src/move.c
testcases/t/303-regress-move-floating.t [new file with mode: 0644]