aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2000-12-11 19:24:59 +0000
committerGerd Moellmann2000-12-11 19:24:59 +0000
commit6b5c4794c2a67602e3ffded139dd5b0e1f3d5505 (patch)
tree177386396c811841894ab523475ead9f9472a4ea
parent4811586b31f9e5ce9b12038cfbcd63f66136a078 (diff)
downloademacs-6b5c4794c2a67602e3ffded139dd5b0e1f3d5505.tar.gz
emacs-6b5c4794c2a67602e3ffded139dd5b0e1f3d5505.zip
(prepare_menu_bars): Changes for tip_frame being a
Lisp_Object.
-rw-r--r--src/xdisp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 6e0b565b264..13a9fa85b0f 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -6862,12 +6862,12 @@ prepare_menu_bars ()
6862 int all_windows; 6862 int all_windows;
6863 struct gcpro gcpro1, gcpro2; 6863 struct gcpro gcpro1, gcpro2;
6864 struct frame *f; 6864 struct frame *f;
6865 struct frame *tooltip_frame; 6865 Lisp_Object tooltip_frame;
6866 6866
6867#ifdef HAVE_X_WINDOWS 6867#ifdef HAVE_X_WINDOWS
6868 tooltip_frame = tip_frame; 6868 tooltip_frame = tip_frame;
6869#else 6869#else
6870 tooltip_frame = NULL; 6870 tooltip_frame = Qnil;
6871#endif 6871#endif
6872 6872
6873 /* Update all frame titles based on their buffer names, etc. We do 6873 /* Update all frame titles based on their buffer names, etc. We do
@@ -6881,7 +6881,7 @@ prepare_menu_bars ()
6881 FOR_EACH_FRAME (tail, frame) 6881 FOR_EACH_FRAME (tail, frame)
6882 { 6882 {
6883 f = XFRAME (frame); 6883 f = XFRAME (frame);
6884 if (f != tooltip_frame 6884 if (!EQ (frame, tooltip_frame)
6885 && (FRAME_VISIBLE_P (f) || FRAME_ICONIFIED_P (f))) 6885 && (FRAME_VISIBLE_P (f) || FRAME_ICONIFIED_P (f)))
6886 x_consider_frame_title (frame); 6886 x_consider_frame_title (frame);
6887 } 6887 }
@@ -6905,7 +6905,7 @@ prepare_menu_bars ()
6905 f = XFRAME (frame); 6905 f = XFRAME (frame);
6906 6906
6907 /* Ignore tooltip frame. */ 6907 /* Ignore tooltip frame. */
6908 if (f == tooltip_frame) 6908 if (EQ (frame, tooltip_frame))
6909 continue; 6909 continue;
6910 6910
6911 /* If a window on this frame changed size, report that to 6911 /* If a window on this frame changed size, report that to