diff options
| author | Eli Zaretskii | 2015-10-24 18:54:15 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2015-10-24 18:54:15 +0300 |
| commit | 9d6ec23f7d4f8fbbfdcea353c4b58e47f76a7342 (patch) | |
| tree | 9fd9c167ad8609ad3eada88891647b16ea17fde9 | |
| parent | 41518e5b6354cf6aa946de2e5b02b728f7b15b8c (diff) | |
| download | emacs-9d6ec23f7d4f8fbbfdcea353c4b58e47f76a7342.tar.gz emacs-9d6ec23f7d4f8fbbfdcea353c4b58e47f76a7342.zip | |
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.
| -rw-r--r-- | src/xdisp.c | 4 |
1 files changed, 3 insertions, 1 deletions
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) | |||
| 16854 | 16854 | ||
| 16855 | finish_menu_bars: | 16855 | finish_menu_bars: |
| 16856 | 16856 | ||
| 16857 | /* When we reach a frame's selected window, redo the frame's menu bar. */ | 16857 | /* When we reach a frame's selected window, redo the frame's menu |
| 16858 | bar and the frame's title. */ | ||
| 16858 | if (update_mode_line | 16859 | if (update_mode_line |
| 16859 | && EQ (FRAME_SELECTED_WINDOW (f), window)) | 16860 | && EQ (FRAME_SELECTED_WINDOW (f), window)) |
| 16860 | { | 16861 | { |
| @@ -16889,6 +16890,7 @@ redisplay_window (Lisp_Object window, bool just_this_one_p) | |||
| 16889 | ignore_mouse_drag_p = true; | 16890 | ignore_mouse_drag_p = true; |
| 16890 | #endif | 16891 | #endif |
| 16891 | } | 16892 | } |
| 16893 | x_consider_frame_title (w->frame); | ||
| 16892 | #endif | 16894 | #endif |
| 16893 | } | 16895 | } |
| 16894 | 16896 | ||