From a2c3aa0f985f824b0e1ba403fb35ccac2b9b5302 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Fri, 28 Mar 2003 15:27:47 +0000 Subject: [PATCH] Send mouse movement messages when moving to left/top svn path=/trunk/; revision=4446 --- reactos/subsys/win32k/eng/mouse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/subsys/win32k/eng/mouse.c b/reactos/subsys/win32k/eng/mouse.c index 47b3805fb96..2df0c5bc8b3 100644 --- a/reactos/subsys/win32k/eng/mouse.c +++ b/reactos/subsys/win32k/eng/mouse.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: mouse.c,v 1.21 2003/03/24 22:49:54 gvg Exp $ +/* $Id: mouse.c,v 1.22 2003/03/28 15:27:47 gvg Exp $ * * PROJECT: ReactOS kernel * PURPOSE: Mouse @@ -248,7 +248,7 @@ MouseGDICallBack(PMOUSE_INPUT_DATA Data, ULONG InputCount) Msg.time = TickCount; Msg.pt.x = mouse_x + mouse_cx; Msg.pt.y = mouse_y + mouse_cy; - if ((mouse_cx > 0) || (mouse_cy > 0)) + if ((0 != Data[i].LastX) || (0 != Data[i].LastY)) { MsqInsertSystemMessage(&Msg); }