From 1def1e2f7f5352d8af0faedc8c09a8cb84e5562f Mon Sep 17 00:00:00 2001 From: Nils Kuhnhenn Date: Thu, 11 Aug 2016 17:28:17 +0200 Subject: [PATCH] winex11.drv: Return default locale in LoadKeyboardLayout stub instead of 0. Signed-off-by: Nils Kuhnhenn Signed-off-by: Alexandre Julliard --- dlls/winex11.drv/keyboard.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dlls/winex11.drv/keyboard.c b/dlls/winex11.drv/keyboard.c index 47a987226d5..adb028a46d3 100644 --- a/dlls/winex11.drv/keyboard.c +++ b/dlls/winex11.drv/keyboard.c @@ -1947,9 +1947,8 @@ HKL CDECL X11DRV_GetKeyboardLayout(DWORD dwThreadid) */ HKL CDECL X11DRV_LoadKeyboardLayout(LPCWSTR name, UINT flags) { - FIXME("%s, %04x: stub!\n", debugstr_w(name), flags); - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return 0; + FIXME("%s, %04x: semi-stub! Returning default layout.\n", debugstr_w(name), flags); + return get_locale_kbd_layout(); } -- 2.11.4.GIT