Alexandre Julliard : winex11: Remove the no longer needed GetAsyncKeyState entry point.

Alexandre Julliard julliard at winehq.org
Mon Oct 15 14:29:06 CDT 2012


Module: wine
Branch: master
Commit: 710858abee7a1808c2b17ef00a69f284b342708b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=710858abee7a1808c2b17ef00a69f284b342708b

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Oct 15 12:21:05 2012 +0200

winex11: Remove the no longer needed GetAsyncKeyState entry point.

---

 dlls/winex11.drv/keyboard.c       |   10 ----------
 dlls/winex11.drv/winex11.drv.spec |    1 -
 2 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/dlls/winex11.drv/keyboard.c b/dlls/winex11.drv/keyboard.c
index ae7e72b..039d15b 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 8f68a47..db3e4f5 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




More information about the wine-cvs mailing list