winex11.drv: Transmit WM_DEADCHAR messages to applications

Alexandre Julliard julliard at winehq.org
Thu Apr 18 12:30:42 CDT 2013


Simon Lipp <sloonz at gmail.com> writes:

> @@ -389,6 +389,10 @@ static int process_events( Display *display, Bool (*filter)(Display*, XEvent*,XP
>          count++;
>          if (XFilterEvent( &event, None ))
>          {
> +            KeySym keysym = 0;
> +            XLookupString(&event.xkey, NULL, 0, &keysym, NULL);
> +            BOOL is_dead = (keysym >= XK_dead_grave && keysym <=XK_dead_semivoiced_sound);

You can't assume that you have a key event here.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list