diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 8 |
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 |