From: Richard M. Stallman Date: Wed, 15 Jun 1994 18:18:55 +0000 (+0000) Subject: (redisplay): Don't call x_consider_frame_title. X-Git-Tag: emacs-19.34~7940 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=aba55e8dde6fcc104afe3c69ea48ac76b55e885f;p=emacs.git (redisplay): Don't call x_consider_frame_title. (display_mode_line): Likewise. (prepare_menu_bars): Call it here. --- diff --git a/src/xdisp.c b/src/xdisp.c index fa6e0c1493c..da05044a963 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -455,6 +455,17 @@ prepare_menu_bars () all_windows = (update_mode_lines || buffer_shared > 1 || clip_changed || windows_or_buffers_changed); +#ifdef HAVE_X_WINDOWS + { + Lisp_Object tail, frame; + + FOR_EACH_FRAME (tail, frame) + if (FRAME_VISIBLE_P (XFRAME (frame)) + || FRAME_ICONIFIED_P (XFRAME (frame))) + x_consider_frame_title (frame); + } +#endif + /* Update the menu bar item lists, if appropriate. This has to be done before any actual redisplay or generation of display lines. */ @@ -701,11 +712,6 @@ redisplay () if (FRAME_VISIBLE_P (f)) redisplay_windows (FRAME_ROOT_WINDOW (f)); -#ifdef HAVE_X_WINDOWS - else if (FRAME_ICONIFIED_P (f) - && ! MINI_WINDOW_P (XWINDOW (f->selected_window))) - x_consider_frame_title (frame); -#endif /* Any scroll bars which redisplay_windows should have nuked should now go away. */ @@ -2577,11 +2583,6 @@ display_mode_line (w) ptr[i] = FAST_MAKE_GLYPH (FAST_GLYPH_CHAR (ptr[i]), 1); } #endif - -#ifdef HAVE_X_WINDOWS - if (w == XWINDOW (f->selected_window)) - x_consider_frame_title (WINDOW_FRAME (w)); -#endif } /* Contribute ELT to the mode line for window W.