YAMAMOTO Mitsuharu <[EMAIL PROTECTED]> writes:

>>      2.2 The value of last_mouse_glyph may become invalid.  For
>>          example, after clicking the image on the splash screen,
>>          dragging the area where the image was displayed does not
>>          issue mouse-movement events.  I think last_mouse_glyph
>>          should be cleared in some appropriate timing, but I'm not
>>          sure when it is.

I have just installed the following change to xterm.c, which seems to be
the proper fix for X:

2005-10-12  Kim F. Storm  <[EMAIL PROTECTED]>

        * xterm.c (handle_one_xevent): Clear last_mouse_glyph on mouse up/down.


*** xterm.c     12 Oct 2005 13:18:14 +0200      1.881
--- xterm.c     12 Oct 2005 13:37:27 +0200      
***************
*** 6634,6639 ****
--- 6634,6640 ----
          int tool_bar_p = 0;
  
          bzero (&compose_status, sizeof (compose_status));
+       bzero (&last_mouse_glyph, sizeof (last_mouse_glyph));
  
          if (dpyinfo->grabbed
              && last_mouse_frame


--
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