From: Richard M. Stallman Date: Mon, 16 Sep 1996 06:31:10 +0000 (+0000) Subject: (note_mouse_highlight): Test last_overlay_modified field. X-Git-Tag: emacs-20.1~3735 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bade65fd579cc2a246f98f94cb8089295d6c3df8;p=emacs.git (note_mouse_highlight): Test last_overlay_modified field. --- 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;