[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/dispnew.c,v
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] Changes to emacs/src/dispnew.c,v |
Date: |
Sun, 21 Jan 2007 23:30:03 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Chong Yidong <cyd> 07/01/21 23:30:02
Index: dispnew.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/dispnew.c,v
retrieving revision 1.387
retrieving revision 1.388
diff -u -b -r1.387 -r1.388
--- dispnew.c 21 Jan 2007 04:18:16 -0000 1.387
+++ dispnew.c 21 Jan 2007 23:30:02 -0000 1.388
@@ -4391,12 +4391,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
+ /* This next line is necessary for correctly redrawing
+ mouse-face areas after scrolling and other operations.
+ However, it causes excessive flickering when mouse is moved
+ across the mode line. Luckily, turning it off for the mode
+ line doesn't seem to hurt anything. -- cyd. */
+ || (current_row->mouse_face_p && !current_row->mode_line_p)
|| current_row->x != desired_row->x)
{
rif->cursor_to (vpos, 0, desired_row->y, desired_row->x);