aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/frame.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/frame.c b/src/frame.c
index 70e200d9219..36ce36436f3 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -364,8 +364,8 @@ frame_redisplay_p (struct frame *f)
364{ 364{
365 if (is_tty_frame (f)) 365 if (is_tty_frame (f))
366 { 366 {
367 struct frame *p = FRAME_PARENT_FRAME (f); 367 struct frame *p = f;
368 struct frame *q = NULL; 368 struct frame *q = f;
369 369
370 while (p) 370 while (p)
371 { 371 {
@@ -387,7 +387,7 @@ frame_redisplay_p (struct frame *f)
387 frame of its terminal. Any other tty frame can be redisplayed 387 frame of its terminal. Any other tty frame can be redisplayed
388 iff it is the top frame of its terminal itself which must be 388 iff it is the top frame of its terminal itself which must be
389 always visible. */ 389 always visible. */
390 return (q ? q == r : f == r); 390 return q == r;
391 } 391 }
392 else 392 else
393#ifndef HAVE_X_WINDOWS 393#ifndef HAVE_X_WINDOWS