diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-09-16 06:31:10 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-09-16 06:31:10 +0000 |
commit | ff2c29c2a4a892aa2d436ce75840e8a482e801fc (patch) | |
tree | 5e7bbe00c605f007643969ae1dcb4e9813c8bab2 /src | |
parent | 1e78bb3a755277dc8d6e6e25a2ad579cb305f7d8 (diff) | |
download | emacs-ff2c29c2a4a892aa2d436ce75840e8a482e801fc.tar.gz |
(note_mouse_highlight): Test last_overlay_modified field.
Diffstat (limited to 'src')
-rw-r--r-- | src/w32term.c | 3 | ||||
-rw-r--r-- | src/xterm.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/w32term.c b/src/w32term.c index 27a4933b064..f76291b7205 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -1350,7 +1350,8 @@ note_mouse_highlight (f, x, y) if (WINDOWP (window) && portion == 0 && row >= 0 && column >= 0 && row < FRAME_HEIGHT (f) && column < FRAME_WIDTH (f) && EQ (w->window_end_valid, w->buffer) - && w->last_modified == BUF_MODIFF (XBUFFER (w->buffer))) + && w->last_modified == BUF_MODIFF (XBUFFER (w->buffer)) + && w->last_overlay_modified == BUF_OVERLAY_MODIFF (XBUFFER (w->buffer))) { int *ptr = FRAME_CURRENT_GLYPHS (f)->charstarts[row]; int i, pos; diff --git a/src/xterm.c b/src/xterm.c index 595621b4f8a..2be321ef5f3 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -1913,7 +1913,8 @@ note_mouse_highlight (f, x, y) if (WINDOWP (window) && portion == 0 && row >= 0 && column >= 0 && row < FRAME_HEIGHT (f) && column < FRAME_WIDTH (f) && EQ (w->window_end_valid, w->buffer) - && w->last_modified == BUF_MODIFF (XBUFFER (w->buffer))) + && w->last_modified == BUF_MODIFF (XBUFFER (w->buffer)) + && w->last_overlay_modified == BUF_OVERLAY_MODIFF (XBUFFER (w->buffer))) { int *ptr = FRAME_CURRENT_GLYPHS (f)->charstarts[row]; int i, pos; |