diff --git a/dlls/winex11.drv/keyboard.c b/dlls/winex11.drv/keyboard.c index ae7e72b8bf7..039d15b2aa9 100644 --- a/dlls/winex11.drv/keyboard.c +++ b/dlls/winex11.drv/keyboard.c @@ -1902,16 +1902,6 @@ static BOOL match_x11_keyboard_layout(HKL hkl) return (hkl == xHkl); } -/********************************************************************** - * GetAsyncKeyState (X11DRV.@) - */ -SHORT CDECL X11DRV_GetAsyncKeyState(INT key) -{ - /* Photoshop livelocks unless mouse events are included here */ - X11DRV_MsgWaitForMultipleObjectsEx( 0, NULL, 0, QS_KEY | QS_MOUSE, 0 ); - return -1; -} - /*********************************************************************** * GetKeyboardLayout (X11DRV.@) diff --git a/dlls/winex11.drv/winex11.drv.spec b/dlls/winex11.drv/winex11.drv.spec index 8f68a470c53..db3e4f5afb4 100644 --- a/dlls/winex11.drv/winex11.drv.spec +++ b/dlls/winex11.drv/winex11.drv.spec @@ -6,7 +6,6 @@ @ cdecl ActivateKeyboardLayout(long long) X11DRV_ActivateKeyboardLayout @ cdecl Beep() X11DRV_Beep -@ cdecl GetAsyncKeyState(long) X11DRV_GetAsyncKeyState @ cdecl GetKeyNameText(long ptr long) X11DRV_GetKeyNameText @ cdecl GetKeyboardLayout(long) X11DRV_GetKeyboardLayout @ cdecl GetKeyboardLayoutName(ptr) X11DRV_GetKeyboardLayoutName