diff options
author | Eli Zaretskii <eliz@gnu.org> | 2015-02-02 18:15:13 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2015-02-02 18:15:13 +0200 |
commit | e9a7e10b1818b484af0a36631d2ee6034ac752dc (patch) | |
tree | a33cadda6aa44694e6e94bedb6b42cab6ea17c33 /src/dispnew.c | |
parent | 50f3811883c7082b3c2a5a10bcfe77a3adfcb6ff (diff) | |
download | emacs-e9a7e10b1818b484af0a36631d2ee6034ac752dc.tar.gz |
Fix redrawing of mode lines when exposed (Bug#19721)
src/dispnew.c (adjust_glyph_matrix): Set the update_mode_line flag
of the window whose current glyph matrix was resized, which
disables the mode-line row as side effect.
src/xdisp.c (redisplay_window): Don't avoid redisplay of a window
whose update_mode_line flag is set.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r-- | src/dispnew.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index f73ea58b7f3..6517c9b5d19 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -570,6 +570,12 @@ adjust_glyph_matrix (struct window *w, struct glyph_matrix *matrix, int x, int y for (i = 0; i < matrix->nrows; ++i) matrix->rows[i].enabled_p = false; } + /* We've disabled the mode-line row, so force redrawing of + the mode line, if any, since otherwise it will remain + disabled in the current matrix, and expose events won't + redraw it. */ + if (WINDOW_WANTS_MODELINE_P (w)) + w->update_mode_line = 1; } else if (matrix == w->desired_matrix) { |