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

Alexandre Julliard julliard at winehq.org
Fri Jul 18 10:03:19 CDT 2008


Module: wine
Branch: stable
Commit: 43c7ea247cf3b967e4c1b8e703c79c90d1ede98e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=43c7ea247cf3b967e4c1b8e703c79c90d1ede98e

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.
(cherry picked from commit 219ae804ba4de3e3dfb71c1822e1a8a0007b5971)

---

 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 4ca1bb6..4b9df5e 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