summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2005-10-12 11:18:01 +0000
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2005-10-12 11:18:01 +0000
commit47b40faff44bc6a9b32daab56c791bcd96eb8c57 (patch)
tree940047c59f2ad65642c0f82cdfb10eb7e1efc6f0
parentb639c9be359e158b50835af475af4365fdcbe932 (diff)
downloademacs-47b40faff44bc6a9b32daab56c791bcd96eb8c57.tar.gz
emacs-47b40faff44bc6a9b32daab56c791bcd96eb8c57.tar.bz2
emacs-47b40faff44bc6a9b32daab56c791bcd96eb8c57.zip
(note_mouse_movement): Restore help_echo_string if mouse is moved
inside last_mouse_glyph.
-rw-r--r--src/macterm.c2
-rw-r--r--src/w32term.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/macterm.c b/src/macterm.c
index e18f3ee48a0..c41e1f0ffed 100644
--- a/src/macterm.c
+++ b/src/macterm.c
@@ -4193,6 +4193,8 @@ note_mouse_movement (frame, pos)
/* 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;
}
diff --git a/src/w32term.c b/src/w32term.c
index 96d26344b53..b6349eb63a1 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -3238,6 +3238,8 @@ note_mouse_movement (frame, msg)
other times. */
remember_mouse_glyph (frame, mouse_x, mouse_y, &last_mouse_glyph);
}
+ else
+ help_echo_string = previous_help_echo_string;
}