diff -buBr wine.orig/dlls/x11drv/keyboard.c wine.patched/dlls/x11drv/keyboard.c --- wine.orig/dlls/x11drv/keyboard.c 2003-11-21 22:48:36.000000000 +0100 +++ wine.patched/dlls/x11drv/keyboard.c 2004-05-18 23:04:21.820898336 +0200 @@ -25,6 +25,7 @@ #include "config.h" +#include #include #include #include @@ -1214,12 +1215,19 @@ char ckey[4] = {0, 0, 0, 0}; + +char Polish[]="Polish"; + syms = keysyms_per_keycode; if (syms > 4) { WARN("%d keysyms per keycode not supported, set to 4\n", syms); syms = 4; } for (current = 0; main_key_tab[current].comment; current++) { + if (strncmp(main_key_tab[current].comment,Polish,strlen(Polish)) == 0) { + kbd_layout=current; + break; + } TRACE("Attempting to match against \"%s\"\n", main_key_tab[current].comment); match = 0; mismatch = 0; Tylko w wine.patched/dlls/x11drv: keyboard.c.orig