From: Eli Zaretskii Date: Sat, 24 Oct 2015 15:54:15 +0000 (+0300) Subject: Update frame title when redisplay scrolls selected window X-Git-Tag: emacs-25.0.90~1034 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9d6ec23f7d4f8fbbfdcea353c4b58e47f76a7342;p=emacs.git Update frame title when redisplay scrolls selected window * src/xdisp.c (redisplay_window): Reconsider the frame's title when the mode-line of the frame's selected window needs to be updated. --- diff --git a/src/xdisp.c b/src/xdisp.c index 057671246e3..bdf2d09179e 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -16854,7 +16854,8 @@ redisplay_window (Lisp_Object window, bool just_this_one_p) finish_menu_bars: - /* When we reach a frame's selected window, redo the frame's menu bar. */ + /* When we reach a frame's selected window, redo the frame's menu + bar and the frame's title. */ if (update_mode_line && EQ (FRAME_SELECTED_WINDOW (f), window)) { @@ -16889,6 +16890,7 @@ redisplay_window (Lisp_Object window, bool just_this_one_p) ignore_mouse_drag_p = true; #endif } + x_consider_frame_title (w->frame); #endif }