/[emacs]/emacs/src/xterm.c
ViewVC logotype

Diff of /emacs/src/xterm.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.885 by kfstorm, Thu Oct 20 15:04:13 2005 UTC revision 1.886 by jhd, Sun Oct 23 21:12:34 2005 UTC
# Line 3599  note_mouse_movement (frame, event) Line 3599  note_mouse_movement (frame, event)
3599        return 1;        return 1;
3600      }      }
3601    
3602      note_mouse_highlight (frame, event->x, event->y);
3603    
3604    /* Has the mouse moved off the glyph it was on at the last sighting?  */    /* Has the mouse moved off the glyph it was on at the last sighting?  */
3605    if (event->x < last_mouse_glyph.x    if (event->x < last_mouse_glyph.x
3606             || event->x >= last_mouse_glyph.x + last_mouse_glyph.width        || event->x >= last_mouse_glyph.x + last_mouse_glyph.width
3607             || event->y < last_mouse_glyph.y        || event->y < last_mouse_glyph.y
3608             || event->y >= last_mouse_glyph.y + last_mouse_glyph.height)        || event->y >= last_mouse_glyph.y + last_mouse_glyph.height)
3609      {      {
3610        frame->mouse_moved = 1;        frame->mouse_moved = 1;
3611        last_mouse_scroll_bar = Qnil;        last_mouse_scroll_bar = Qnil;
       note_mouse_highlight (frame, event->x, event->y);  
3612        /* Remember which glyph we're now on.  */        /* Remember which glyph we're now on.  */
3613        remember_mouse_glyph (frame, event->x, event->y, &last_mouse_glyph);        remember_mouse_glyph (frame, event->x, event->y, &last_mouse_glyph);
3614        return 1;        return 1;

Legend:
Removed from v.1.885  
changed lines
  Added in v.1.886

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26