(x_consider_frame_title): Don't count the tooltip frame

when checking for multiple frames.
This commit is contained in:
Jason Rumney 2002-01-09 22:42:49 +00:00
parent b93e5ce229
commit 74779f52c5
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2002-01-09 Jason Rumney <jasonr@gnu.org>
* xdisp.c (x_consider_frame_title): Don't count the tooltip frame
when checking for multiple frames.
2002-01-08 Richard M. Stallman <rms@gnu.org>
* window.c (delete_window): Rewrite the code for changing the

View file

@ -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;
}