changeset 66044:4270eecbdc34

(note_mouse_movement): Restore help_echo_string if mouse is moved inside last_mouse_glyph.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Wed, 12 Oct 2005 11:18:01 +0000
parents 7e251d472f1c
children 351bf0fec9aa
files src/macterm.c src/w32term.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/macterm.c	Wed Oct 12 10:14:41 2005 +0000
+++ b/src/macterm.c	Wed Oct 12 11:18:01 2005 +0000
@@ -4193,6 +4193,8 @@
       /* 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;
 }
 
 
--- a/src/w32term.c	Wed Oct 12 10:14:41 2005 +0000
+++ b/src/w32term.c	Wed Oct 12 11:18:01 2005 +0000
@@ -3238,6 +3238,8 @@
 	 other times.  */
       remember_mouse_glyph (frame, mouse_x, mouse_y, &last_mouse_glyph);
     }
+  else
+    help_echo_string = previous_help_echo_string;
 }