mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 14:40:56 +00:00
winex11.drv: GetAsyncKeyState must check mouse buttons, too.
This commit is contained in:
parent
3f0575943e
commit
c2ae970e60
@ -1827,7 +1827,8 @@ SHORT X11DRV_GetAsyncKeyState(INT key)
|
||||
{
|
||||
SHORT retval;
|
||||
|
||||
X11DRV_MsgWaitForMultipleObjectsEx( 0, NULL, 0, QS_KEY, 0 );
|
||||
/* Photoshop livelocks unless mouse events are included here */
|
||||
X11DRV_MsgWaitForMultipleObjectsEx( 0, NULL, 0, QS_KEY | QS_MOUSE, 0 );
|
||||
|
||||
retval = ((key_state_table[key] & 0x40) ? 0x0001 : 0) |
|
||||
((key_state_table[key] & 0x80) ? 0x8000 : 0);
|
||||
|
Loading…
Reference in New Issue
Block a user