summaryrefslogtreecommitdiff
path: root/src/w32term.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-05-13 15:24:25 +0000
committerRichard M. Stallman <rms@gnu.org>1996-05-13 15:24:25 +0000
commit9bf7b6aa500cc50a512770ddfd4f072aedb53cea (patch)
tree4e9808f0592c4f7517b5c5f5ac75bd1eed239749 /src/w32term.c
parent0d05360db7cc1bb79572f0c1ebd0461eb364257e (diff)
downloademacs-9bf7b6aa500cc50a512770ddfd4f072aedb53cea.tar.gz
emacs-9bf7b6aa500cc50a512770ddfd4f072aedb53cea.tar.bz2
emacs-9bf7b6aa500cc50a512770ddfd4f072aedb53cea.zip
(note_mouse_movement): Upwards mouse movement recognition corrected.
Diffstat (limited to 'src/w32term.c')
-rw-r--r--src/w32term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32term.c b/src/w32term.c
index bde3a04986b..7e9c78dde33 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -1288,7 +1288,7 @@ note_mouse_movement (frame, msg)
/* Has the mouse moved off the glyph it was on at the last sighting? */
else if (LOWORD (msg->lParam) < last_mouse_glyph.left
|| LOWORD (msg->lParam) > last_mouse_glyph.right
- || HIWORD (msg->lParam) < last_mouse_glyph.left
+ || HIWORD (msg->lParam) < last_mouse_glyph.top
|| HIWORD (msg->lParam) > last_mouse_glyph.bottom)
{
frame->mouse_moved = 1;