mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
Fix for a bug I introduced declaring FASTCALL MouseGDICallBack.
svn path=/trunk/; revision=4716
This commit is contained in:
parent
fec738c6cb
commit
c0bb24f7ad
2 changed files with 8 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue