winex11: use XkbKeycodeToKeysym instead of (deprecated) XKeycodeToKeysym (see http://bugs.freedesktop.org/show_bug.cgi?id=5349)

Dmitry Timoshkov dmitry at codeweavers.com
Wed Apr 21 01:53:14 CDT 2010


Alexandre Goujon <ale.goujon at gmail.com> wrote:

> -        if (!(keysym = XKeycodeToKeysym (display, keyc, i))) continue;
> +        if (!(keysym = XkbKeycodeToKeysym (display, keyc, 0, i))) continue;

Not every X11 implementation has the XKB extenstion. You may want to take
into account 'use_xkb' and 'HAVE_XKB'.

-- 
Dmitry.



More information about the wine-devel mailing list