emacs-devel
[Top][All Lists]
Advanced

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

Re: address@hidden: Re: mode-line redisplay bug]


From: Kim F. Storm
Subject: Re: address@hidden: Re: mode-line redisplay bug]
Date: Wed, 12 Oct 2005 13:44:43 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

YAMAMOTO Mitsuharu <address@hidden> 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  <address@hidden>

        * 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 <address@hidden> http://www.cua.dk





reply via email to

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