mirror of
https://github.com/reactos/reactos.git
synced 2024-08-04 18:40:59 +00:00
Fix masking.
svn path=/trunk/; revision=16519
This commit is contained in:
parent
ff7e7c8ae6
commit
5dd6792d1d
|
@ -1059,14 +1059,14 @@ IntMouseInput(MOUSEINPUT *mi)
|
|||
Msg.message = WM_XBUTTONUP;
|
||||
if(mi->mouseData & XBUTTON1)
|
||||
{
|
||||
QueueKeyStateTable[VK_XBUTTON1] &= 0x80;
|
||||
QueueKeyStateTable[VK_XBUTTON1] &= ~0x80;
|
||||
Msg.wParam = MAKEWPARAM(CurInfo->ButtonsDown, XBUTTON1);
|
||||
CurInfo->ButtonsDown &= ~XBUTTON1;
|
||||
MsqInsertSystemMessage(&Msg);
|
||||
}
|
||||
if(mi->mouseData & XBUTTON2)
|
||||
{
|
||||
QueueKeyStateTable[VK_XBUTTON2] &= 0x80;
|
||||
QueueKeyStateTable[VK_XBUTTON2] &= ~0x80;
|
||||
Msg.wParam = MAKEWPARAM(CurInfo->ButtonsDown, XBUTTON2);
|
||||
CurInfo->ButtonsDown &= ~XBUTTON2;
|
||||
MsqInsertSystemMessage(&Msg);
|
||||
|
|
Loading…
Reference in a new issue