From: Kim F. Storm Date: Sun, 17 Sep 2006 20:57:44 +0000 (+0000) Subject: (update_text_area): Undo 2000-07-18 change. X-Git-Tag: emacs-pretest-22.0.90~497 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ac14fd4de828924609e85c2cf8ee49a74d43a096;p=emacs.git (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. --- diff --git a/src/dispnew.c b/src/dispnew.c index d048eadd5c4..02a3aedaf11 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -4406,7 +4406,12 @@ update_text_area (w, vpos) || 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);