mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
Fix masking.
svn path=/trunk/; revision=16519
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user