Simon Lipp <slo...@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
julli...@winehq.org


Reply via email to