[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: winex11: use XkbKeycodeToKeysym when using XKB
From: Alexandre Julliard <julliard () winehq ! org>
Date: 2010-04-29 19:05:25
Message-ID: m2sk6egjuy.fsf () winehq ! org
[Download RAW message or body]
Alexandre Goujon <ale.goujon@gmail.com> writes:
> @@ -609,6 +609,11 @@ extern HMODULE x11drv_module;
> extern BYTE key_state_table[256];
> extern POINT cursor_pos;
>
> +#ifdef HAVE_XKB
> +#define XKeycodeToKeysym(dpy,kc,i) \
> + ( use_xkb ? XkbKeycodeToKeysym(dpy, kc, 0, i) : XKeycodeToKeysym(dpy, kc, i) )
> +#endif
> +
That would make the code very confusing. You should define some explicit
inline function instead.
--
Alexandre Julliard
julliard@winehq.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic