[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chong Yidong] Re: Tool-bar buttons unresponsive with tooltips on
From: |
Kim F. Storm |
Subject: |
[Chong Yidong] Re: Tool-bar buttons unresponsive with tooltips on |
Date: |
Mon, 17 Oct 2005 00:59:03 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
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 <address@hidden>
>
> 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 <address@hidden> http://www.cua.dk
- [Chong Yidong] Re: Tool-bar buttons unresponsive with tooltips on,
Kim F. Storm <=