Fix for a bug I introduced declaring FASTCALL MouseGDICallBack.
authorEmanuele Aliberti <ea@iol.it>
Sun, 18 May 2003 19:21:24 +0000 (19:21 +0000)
committerEmanuele Aliberti <ea@iol.it>
Sun, 18 May 2003 19:21:24 +0000 (19:21 +0000)
svn path=/trunk/; revision=4716

reactos/subsys/win32k/eng/mouse.c
reactos/subsys/win32k/include/mouse.h

index 2999856..5d60ea0 100644 (file)
@@ -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.23 2003/05/18 17:16:17 ea Exp $
+/* $Id: mouse.c,v 1.24 2003/05/18 19:21:24 ea Exp $
  *
  * PROJECT:          ReactOS kernel
  * PURPOSE:          Mouse
@@ -206,7 +206,7 @@ MouseSafetyOnDrawEnd(PSURFOBJ SurfObj, PSURFGDI SurfGDI)
   return(TRUE);
 }
 
-VOID FASTCALL
+VOID /* STDCALL */
 MouseGDICallBack(PMOUSE_INPUT_DATA Data, ULONG InputCount)
 /*
  * FUNCTION: Call by the mouse driver when input events occur.
@@ -303,9 +303,14 @@ MouseGDICallBack(PMOUSE_INPUT_DATA Data, ULONG InputCount)
     mouse_x = min(mouse_x, 620);
     mouse_y = min(mouse_y, 460);
 
+
     if (SafetySwitch == FALSE && SafetySwitch2 == FALSE)
     {
+#if 1
       SurfGDI->MovePointer(SurfObj, mouse_x, mouse_y, &MouseRect);
+#else
+      DbgPrint("WIN32K.%s: call SurfGDI->MovePointer()\n",__FUNCTION__);
+#endif
     }
   }
 }
index 36c37d0..58cf588 100644 (file)
@@ -7,7 +7,7 @@
 INT  STDCALL  MouseSafetyOnDrawStart(PSURFOBJ SurfObj, PSURFGDI SurfGDI, LONG HazardX1, LONG HazardY1, LONG HazardX2, LONG HazardY2);
 INT  FASTCALL MouseSafetyOnDrawEnd(PSURFOBJ SurfObj, PSURFGDI SurfGDI);
 VOID FASTCALL EnableMouse(HDC hDisplayDC);
-VOID FASTCALL MouseGDICallBack(PMOUSE_INPUT_DATA Data, ULONG InputCount);
+VOID          MouseGDICallBack(PMOUSE_INPUT_DATA Data, ULONG InputCount);
 
 
 #endif /* __WIN32K_MOUSE_H */