Commit a4b0e228 authored by Jan Djärv's avatar Jan Djärv
Browse files

* xterm.c (note_mouse_movement): Always call note_mouse_highlight

so tool tips don't interfere with press on tool bar button.
parent 6a897887
2005-10-23 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* xterm.c (note_mouse_movement): Always call note_mouse_highlight
so tool tips don't interfere with press on tool bar button.
2005-10-23 Richard M. Stallman <rms@gnu.org>
 
* casetab.c (Fset_case_table): Doc fix.
......
......@@ -3599,15 +3599,16 @@ note_mouse_movement (frame, event)
return 1;
}
note_mouse_highlight (frame, event->x, event->y);
/* 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)
|| 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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment