[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: address@hidden: Re: mode-line redisplay bug]
From: |
YAMAMOTO Mitsuharu |
Subject: |
Re: address@hidden: Re: mode-line redisplay bug] |
Date: |
Wed, 12 Oct 2005 20:20:13 +0900 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/22.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) |
>>>>> On Wed, 12 Oct 2005 12:57:07 +0200 (CEST), David PONCE <address@hidden>
>>>>> said:
> Since your last changes related to the mode-line redisplay bug
> thread, help-echo messages on the header-line or the mode-line are
> shown sporadically.
That's "Problem 2.1" in the thread.
>>>>> On Tue, 07 Jun 2005 18:45:48 +0900, YAMAMOTO Mitsuharu <address@hidden>
>>>>> said:
> 2.1 Sometimes a tooltip is not shown. I hope the first
> fragment of the patch below fix this.
> 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 installed the following change.
YAMAMOTO Mitsuharu
address@hidden
Index: src/macterm.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/macterm.c,v
retrieving revision 1.135
diff -c -r1.135 macterm.c
*** src/macterm.c 11 Oct 2005 22:35:40 -0000 1.135
--- src/macterm.c 12 Oct 2005 11:05:53 -0000
***************
*** 4193,4198 ****
--- 4193,4200 ----
/* Remember which glyph we're now on. */
remember_mouse_glyph (frame, pos->h, pos->v, &last_mouse_glyph);
}
+ else
+ help_echo_string = previous_help_echo_string;
}
Index: src/w32term.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/w32term.c,v
retrieving revision 1.233
diff -c -r1.233 w32term.c
*** src/w32term.c 11 Oct 2005 22:36:35 -0000 1.233
--- src/w32term.c 12 Oct 2005 11:05:54 -0000
***************
*** 3238,3243 ****
--- 3238,3245 ----
other times. */
remember_mouse_glyph (frame, mouse_x, mouse_y, &last_mouse_glyph);
}
+ else
+ help_echo_string = previous_help_echo_string;
}
Index: src/xterm.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/xterm.c,v
retrieving revision 1.880
diff -c -r1.880 xterm.c
*** src/xterm.c 11 Oct 2005 22:37:01 -0000 1.880
--- src/xterm.c 12 Oct 2005 11:05:55 -0000
***************
*** 3610,3615 ****
--- 3610,3617 ----
/* Remember which glyph we're now on. */
remember_mouse_glyph (frame, event->x, event->y, &last_mouse_glyph);
}
+ else
+ help_echo_string = previous_help_echo_string;
}