Re: Patch for crash caused by XIM and make XIM functions properly
24 Jan
2003
24 Jan
'03
2:37 p.m.
"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.
8364
Age (days ago)
8364
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Timoshkov