Alexandre Julliard : winex11: Check for XKB extension on the GDI display too.

Alexandre Julliard julliard at winehq.org
Wed Jul 2 06:03:34 CDT 2008


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Jul  2 12:03:52 2008 +0200

winex11: Check for XKB extension on the GDI display too.

---

 dlls/winex11.drv/x11drv_main.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/winex11.drv/x11drv_main.c b/dlls/winex11.drv/x11drv_main.c
index e2375b2..2e19913 100644
--- a/dlls/winex11.drv/x11drv_main.c
+++ b/dlls/winex11.drv/x11drv_main.c
@@ -537,6 +537,9 @@ static BOOL process_attach(void)
     X11DRV_XComposite_Init();
 #endif
 
+#ifdef HAVE_XKB
+    if (use_xkb) use_xkb = XkbUseExtension( gdi_display, NULL, NULL );
+#endif
     X11DRV_InitKeyboard( gdi_display );
     X11DRV_InitClipboard();
     if (use_xim) use_xim = X11DRV_InitXIM( input_style );




More information about the wine-cvs mailing list