* src/frame.c (store_frame_param): When re-parenting a tty child
frame, mark it's old and new root frames as garbaged so redisplay
will reflect the change immediately (Bug#77079).
(cherry picked from commit
739d18dc41234824f4f01bfaa2313510e2df14a7)
{
if (NILP (f->parent_frame) != NILP (val))
error ("Making a root frame a child or vice versa is not supported");
+
+ SET_FRAME_GARBAGED (root_frame (f));
f->parent_frame = val;
+ SET_FRAME_GARBAGED (root_frame (f));
}
/* The tty color needed to be set before the frame's parameter