Re: winex11: use XkbKeycodeToKeysym when using XKB
29 Apr
2010
29 Apr
'10
2:05 p.m.
Alexandre Goujon <ale.goujon(a)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(a)winehq.org
5703
Age (days ago)
5703
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard