Jörg Höhle : winex11: Initialize KeyPressEvent for XmbLookupString.
Alexandre Julliard
julliard at winehq.org
Mon Feb 15 10:06:12 CST 2010
Module: wine
Branch: master
Commit: 7155742d70860e6e43941cff406ce3cc21147ead
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7155742d70860e6e43941cff406ce3cc21147ead
Author: Jörg Höhle <hoehle at users.sourceforge.net>
Date: Sat Feb 13 22:37:21 2010 +0100
winex11: Initialize KeyPressEvent for XmbLookupString.
---
dlls/winex11.drv/keyboard.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/winex11.drv/keyboard.c b/dlls/winex11.drv/keyboard.c
index 74581cb..86ac83b 100644
--- a/dlls/winex11.drv/keyboard.c
+++ b/dlls/winex11.drv/keyboard.c
@@ -1754,6 +1754,7 @@ void X11DRV_InitKeyboard( Display *display )
e2.display = display;
e2.state = 0;
+ e2.type = KeyPress;
memset(keyc2vkey, 0, sizeof(keyc2vkey));
for (keyc = min_keycode; keyc <= max_keycode; keyc++)
@@ -2268,6 +2269,7 @@ UINT CDECL X11DRV_MapVirtualKeyEx(UINT wCode, UINT wMapType, HKL hkl)
e.display = display;
e.state = 0;
e.keycode = 0;
+ e.type = KeyPress;
wine_tsx11_lock();
More information about the wine-cvs
mailing list