Mercurial > emacs
comparison src/xdisp.c @ 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 | 6fff04f818fa |
children | aab24f62ad6b |
comparison
equal
deleted
inserted
replaced
34447:387e9f41661e | 34448:8f8d6aa6af8b |
---|---|
6860 prepare_menu_bars () | 6860 prepare_menu_bars () |
6861 { | 6861 { |
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 |
6874 this before the menu bars so that the buffer-menu will show the | 6874 this before the menu bars so that the buffer-menu will show the |
6875 up-to-date frame titles. */ | 6875 up-to-date frame titles. */ |
6879 Lisp_Object tail, frame; | 6879 Lisp_Object tail, frame; |
6880 | 6880 |
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 } |
6888 } | 6888 } |
6889 #endif /* HAVE_WINDOW_SYSTEM */ | 6889 #endif /* HAVE_WINDOW_SYSTEM */ |
6903 FOR_EACH_FRAME (tail, frame) | 6903 FOR_EACH_FRAME (tail, frame) |
6904 { | 6904 { |
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 |
6912 the user and clear the size-change flag. */ | 6912 the user and clear the size-change flag. */ |
6913 if (FRAME_WINDOW_SIZES_CHANGED (f)) | 6913 if (FRAME_WINDOW_SIZES_CHANGED (f)) |