emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tool-bar buttons unresponsive with tooltips on


From: Jan D.
Subject: Re: Tool-bar buttons unresponsive with tooltips on
Date: Sun, 23 Oct 2005 23:14:19 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.12) Gecko/20050923 Fedora/1.7.12-1.5.1

Chong Yidong wrote:
It seems like you got the test wrong


Whoops.


Does it still fix the bug with this change?


Unfortunately, no.  I'll keep on looking into it.


I've checked in this change. I hope it doesn't ruin the intent of calling remember_mouse_glyph in the first place.

        Jan D.


--- xterm.c     20 Oct 2005 15:04:13 -0000      1.885
+++ xterm.c     23 Oct 2005 21:10:30 -0000
@@ -3599,15 +3599,16 @@
       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;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]