From c2ae970e6055f6d18a9166c4cd2d760edfabf20d Mon Sep 17 00:00:00 2001 From: Dan Kegel Date: Thu, 12 Apr 2007 10:20:43 -0700 Subject: [PATCH] winex11.drv: GetAsyncKeyState must check mouse buttons, too. --- dlls/winex11.drv/keyboard.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/winex11.drv/keyboard.c b/dlls/winex11.drv/keyboard.c index 96a0dc15c9c..87384250566 100644 --- a/dlls/winex11.drv/keyboard.c +++ b/dlls/winex11.drv/keyboard.c @@ -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); -- 2.11.4.GIT