Jason,

Can you explain why you added that specific line.

I can see that it looks like a reasonable thing to do,
but Chong has problems with it (I don't).

What problem was it supposed to fix?


> From: Chong Yidong <[EMAIL PROTECTED]>
>  
> The bug goes away if I remove the indicated line in
> note_mouse_movement, in xterm.c.
>  
>     /* Has the mouse moved off the glyph it was on at the last sighting?  */
>     if (event->x < last_mouse_glyph.x
>            || event->x >= last_mouse_glyph.x + last_mouse_glyph.width
>            || event->y < last_mouse_glyph.y
>            || event->y >= last_mouse_glyph.y + last_mouse_glyph.height)
>       {
>         frame->mouse_moved = 1;
>         last_mouse_scroll_bar = Qnil;
>         note_mouse_highlight (frame, event->x, event->y);
>         /* Remember which glyph we're now on.  */
>         remember_mouse_glyph (frame, event->x, event->y, &last_mouse_glyph);
>         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>         return 1;
>       }
>  
>     return 0;
>   }
>  
> The call to remember_mouse_glyph was not there in earlier versions of
> xterm.c.

--
Kim F. Storm <[EMAIL PROTECTED]> http://www.cua.dk



_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to