(note_mouse_movement): Upwards mouse movement recognition corrected.
authorRichard M. Stallman <rms@gnu.org>
Mon, 13 May 1996 15:24:25 +0000 (15:24 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 13 May 1996 15:24:25 +0000 (15:24 +0000)
src/w32term.c

index bde3a04..7e9c78d 100644 (file)
@@ -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;