diff options
| author | Martin Rudalics | 2025-03-18 09:17:52 +0100 |
|---|---|---|
| committer | Martin Rudalics | 2025-03-18 09:17:52 +0100 |
| commit | 739d18dc41234824f4f01bfaa2313510e2df14a7 (patch) | |
| tree | 4d54a323897322152e7aef727f9c20fb1ba5ea42 /src | |
| parent | 5a4b9ca7364f225eff9b134ff06a49c46179366e (diff) | |
| download | emacs-739d18dc41234824f4f01bfaa2313510e2df14a7.tar.gz emacs-739d18dc41234824f4f01bfaa2313510e2df14a7.zip | |
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).
Diffstat (limited to 'src')
| -rw-r--r-- | src/frame.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c index c1ef26e5dd4..e5177afa059 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -3705,7 +3705,10 @@ store_frame_param (struct frame *f, Lisp_Object prop, Lisp_Object val) | |||
| 3705 | { | 3705 | { |
| 3706 | if (NILP (f->parent_frame) != NILP (val)) | 3706 | if (NILP (f->parent_frame) != NILP (val)) |
| 3707 | error ("Making a root frame a child or vice versa is not supported"); | 3707 | error ("Making a root frame a child or vice versa is not supported"); |
| 3708 | |||
| 3709 | SET_FRAME_GARBAGED (root_frame (f)); | ||
| 3708 | f->parent_frame = val; | 3710 | f->parent_frame = val; |
| 3711 | SET_FRAME_GARBAGED (root_frame (f)); | ||
| 3709 | } | 3712 | } |
| 3710 | 3713 | ||
| 3711 | /* The tty color needed to be set before the frame's parameter | 3714 | /* The tty color needed to be set before the frame's parameter |