From 74779f52c5d8994ecea4aeb42a6a68fc0b54901a Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Wed, 9 Jan 2002 22:42:49 +0000 Subject: [PATCH] (x_consider_frame_title): Don't count the tooltip frame when checking for multiple frames. --- src/ChangeLog | 5 +++++ src/xdisp.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index bd5fbc5957d..13536e505e1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2002-01-09 Jason Rumney + + * xdisp.c (x_consider_frame_title): Don't count the tooltip frame + when checking for multiple frames. + 2002-01-08 Richard M. Stallman * window.c (delete_window): Rewrite the code for changing the diff --git a/src/xdisp.c b/src/xdisp.c index 0d25501e1a1..d7491121ee0 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -7224,11 +7224,13 @@ x_consider_frame_title (frame) for (tail = Vframe_list; CONSP (tail); tail = XCDR (tail)) { - struct frame *tf = XFRAME (XCAR (tail)); + Lisp_Object other_frame = XCAR (tail); + struct frame *tf = XFRAME (other_frame); if (tf != f && FRAME_KBOARD (tf) == FRAME_KBOARD (f) && !FRAME_MINIBUF_ONLY_P (tf) + && !EQ (other_frame, tip_frame) && (FRAME_VISIBLE_P (tf) || FRAME_ICONIFIED_P (tf))) break; } -- 2.39.5