mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-17 10:06:13 +00:00
(note_mouse_highlight): Test last_overlay_modified field.
This commit is contained in:
parent
3cd2152366
commit
bade65fd57
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user