summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;