Ensure redisplay after re-parenting a tty child frame (Bug#77079)
* 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).
This commit is contained in:
parent
5a4b9ca736
commit
739d18dc41
1 changed files with 3 additions and 0 deletions
|
@ -3705,7 +3705,10 @@ store_frame_param (struct frame *f, Lisp_Object prop, Lisp_Object val)
|
|||
{
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue