mirror of
https://github.com/reactos/reactos.git
synced 2025-06-11 15:08:29 +00:00
Fix masking.
svn path=/trunk/; revision=16519
This commit is contained in:
parent
ff7e7c8ae6
commit
5dd6792d1d
1 changed files with 2 additions and 2 deletions
|
@ -1059,14 +1059,14 @@ IntMouseInput(MOUSEINPUT *mi)
|
||||||
Msg.message = WM_XBUTTONUP;
|
Msg.message = WM_XBUTTONUP;
|
||||||
if(mi->mouseData & XBUTTON1)
|
if(mi->mouseData & XBUTTON1)
|
||||||
{
|
{
|
||||||
QueueKeyStateTable[VK_XBUTTON1] &= 0x80;
|
QueueKeyStateTable[VK_XBUTTON1] &= ~0x80;
|
||||||
Msg.wParam = MAKEWPARAM(CurInfo->ButtonsDown, XBUTTON1);
|
Msg.wParam = MAKEWPARAM(CurInfo->ButtonsDown, XBUTTON1);
|
||||||
CurInfo->ButtonsDown &= ~XBUTTON1;
|
CurInfo->ButtonsDown &= ~XBUTTON1;
|
||||||
MsqInsertSystemMessage(&Msg);
|
MsqInsertSystemMessage(&Msg);
|
||||||
}
|
}
|
||||||
if(mi->mouseData & XBUTTON2)
|
if(mi->mouseData & XBUTTON2)
|
||||||
{
|
{
|
||||||
QueueKeyStateTable[VK_XBUTTON2] &= 0x80;
|
QueueKeyStateTable[VK_XBUTTON2] &= ~0x80;
|
||||||
Msg.wParam = MAKEWPARAM(CurInfo->ButtonsDown, XBUTTON2);
|
Msg.wParam = MAKEWPARAM(CurInfo->ButtonsDown, XBUTTON2);
|
||||||
CurInfo->ButtonsDown &= ~XBUTTON2;
|
CurInfo->ButtonsDown &= ~XBUTTON2;
|
||||||
MsqInsertSystemMessage(&Msg);
|
MsqInsertSystemMessage(&Msg);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue