Commit c2ae970e authored by Dan Kegel's avatar Dan Kegel Committed by Alexandre Julliard

winex11.drv: GetAsyncKeyState must check mouse buttons, too.

parent 3f057594
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment