diff options
author | Jason Rumney <[email protected]> | 2002-01-09 22:42:49 +0000 |
---|---|---|
committer | Jason Rumney <[email protected]> | 2002-01-09 22:42:49 +0000 |
commit | 74779f52c5d8994ecea4aeb42a6a68fc0b54901a (patch) | |
tree | 27bda020a9639333e0f402d3dcf023875dfbaea0 /src/xdisp.c | |
parent | b93e5ce229008d4a06302f05d0e1e958a29a1a5e (diff) |
(x_consider_frame_title): Don't count the tooltip frame
when checking for multiple frames.
Diffstat (limited to 'src/xdisp.c')
-rw-r--r-- | src/xdisp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 0d25501e1a..d7491121ee 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; } |