changeset 42635:93dbb55ef08a

(x_consider_frame_title): Don't count the tooltip frame when checking for multiple frames.
author Jason Rumney <jasonr@gnu.org>
date Wed, 09 Jan 2002 22:40:37 +0000
parents 867207acffeb
children 7c4a2f20894f
files src/xdisp.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Wed Jan 09 17:33:15 2002 +0000
+++ b/src/xdisp.c	Wed Jan 09 22:40:37 2002 +0000
@@ -7224,11 +7224,13 @@
 
       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;
 	}