"liu spider" <liuspider(a)yahoo.com> wrote:
> @@ -1000,8 +1100,11 @@
>
> wine_tsx11_lock();
> if (xic)
> - ascii_chars = XmbLookupString(xic, event, Str, sizeof(Str), &keysym, NULL);
> - else
> + {
> + if(XIM_KeyEvent(GetFocus(), xic, event))
> + return;
> + }
> +
> ascii_chars = XLookupString(event, Str, sizeof(Str), &keysym, NULL);
> wine_tsx11_unlock();
I can't comment on other parts, but in the above chunk the return after
a successful XIM_KeyEvent() leaves X11 lock held.
--
Dmitry.