Mercurial > emacs
changeset 34448:8f8d6aa6af8b
(prepare_menu_bars): Changes for tip_frame being a
Lisp_Object.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 11 Dec 2000 19:24:59 +0000 |
parents | 387e9f41661e |
children | 06453a32471a |
files | src/xdisp.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Mon Dec 11 19:24:21 2000 +0000 +++ b/src/xdisp.c Mon Dec 11 19:24:59 2000 +0000 @@ -6862,12 +6862,12 @@ int all_windows; struct gcpro gcpro1, gcpro2; struct frame *f; - struct frame *tooltip_frame; + Lisp_Object tooltip_frame; #ifdef HAVE_X_WINDOWS tooltip_frame = tip_frame; #else - tooltip_frame = NULL; + tooltip_frame = Qnil; #endif /* Update all frame titles based on their buffer names, etc. We do @@ -6881,7 +6881,7 @@ FOR_EACH_FRAME (tail, frame) { f = XFRAME (frame); - if (f != tooltip_frame + if (!EQ (frame, tooltip_frame) && (FRAME_VISIBLE_P (f) || FRAME_ICONIFIED_P (f))) x_consider_frame_title (frame); } @@ -6905,7 +6905,7 @@ f = XFRAME (frame); /* Ignore tooltip frame. */ - if (f == tooltip_frame) + if (EQ (frame, tooltip_frame)) continue; /* If a window on this frame changed size, report that to