diff options
| author | Kim F. Storm | 2006-09-17 20:57:44 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2006-09-17 20:57:44 +0000 |
| commit | ac14fd4de828924609e85c2cf8ee49a74d43a096 (patch) | |
| tree | 4fa6a852874ce54b6d3b9ae9c1e975365f7cd3d5 /src | |
| parent | 059fd1a1b4a3dd9e7d4c7e34a8cd175b0141e4a8 (diff) | |
| download | emacs-ac14fd4de828924609e85c2cf8ee49a74d43a096.tar.gz emacs-ac14fd4de828924609e85c2cf8ee49a74d43a096.zip | |
(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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/dispnew.c | 5 |
1 files changed, 5 insertions, 0 deletions
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) | |||
| 4406 | || desired_row->phys_height != current_row->phys_height | 4406 | || desired_row->phys_height != current_row->phys_height |
| 4407 | || desired_row->visible_height != current_row->visible_height | 4407 | || desired_row->visible_height != current_row->visible_height |
| 4408 | || current_row->overlapped_p | 4408 | || current_row->overlapped_p |
| 4409 | #if 0 | ||
| 4410 | /* This causes excessive flickering when mouse is moved across | ||
| 4411 | the mode line. Luckily everything seems to work just fine | ||
| 4412 | without doing this. KFS 2006-09-17. */ | ||
| 4409 | || current_row->mouse_face_p | 4413 | || current_row->mouse_face_p |
| 4414 | #endif | ||
| 4410 | || current_row->x != desired_row->x) | 4415 | || current_row->x != desired_row->x) |
| 4411 | { | 4416 | { |
| 4412 | rif->cursor_to (vpos, 0, desired_row->y, desired_row->x); | 4417 | rif->cursor_to (vpos, 0, desired_row->y, desired_row->x); |