mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
Send mouse movement messages when moving to left/top
svn path=/trunk/; revision=4446
This commit is contained in:
parent
c338b7de02
commit
a2c3aa0f98
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* 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
|
* PROJECT: ReactOS kernel
|
||||||
* PURPOSE: Mouse
|
* PURPOSE: Mouse
|
||||||
|
@ -248,7 +248,7 @@ MouseGDICallBack(PMOUSE_INPUT_DATA Data, ULONG InputCount)
|
||||||
Msg.time = TickCount;
|
Msg.time = TickCount;
|
||||||
Msg.pt.x = mouse_x + mouse_cx;
|
Msg.pt.x = mouse_x + mouse_cx;
|
||||||
Msg.pt.y = mouse_y + mouse_cy;
|
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);
|
MsqInsertSystemMessage(&Msg);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue