]> git.sur5r.net Git - i3/i3/commit
attach_to_workspace: set new parent before tree_render
authorOrestis Floros <orestisf1993@gmail.com>
Wed, 12 Dec 2018 17:09:39 +0000 (19:09 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Wed, 23 Jan 2019 20:20:08 +0000 (21:20 +0100)
commitcf375927f0822540515230d5eb69e08e9edc2dda
treee67f4cdaed4c2b0bf6778fdc10dad19925bc989f
parentf43f4127713c61cc2e71765c950b2857ff290369
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]