Mercurial > emacs
changeset 72949:2ac796de336d
(update_text_area): Undo 2000-07-18 change.
Always redrawing whole row if line has mouse-face in it causes
excessive flickering of the mode line.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Sun, 17 Sep 2006 20:57:44 +0000 |
parents | 181865a18267 |
children | 5023bc85eb16 |
files | src/dispnew.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dispnew.c Sun Sep 17 20:56:04 2006 +0000 +++ b/src/dispnew.c Sun Sep 17 20:57:44 2006 +0000 @@ -4406,7 +4406,12 @@ || desired_row->phys_height != current_row->phys_height || desired_row->visible_height != current_row->visible_height || current_row->overlapped_p +#if 0 + /* This causes excessive flickering when mouse is moved across + the mode line. Luckily everything seems to work just fine + without doing this. KFS 2006-09-17. */ || current_row->mouse_face_p +#endif || current_row->x != desired_row->x) { rif->cursor_to (vpos, 0, desired_row->y, desired_row->x);