| Summary: |
XIM patch from Xorg |
| Product: |
xorg
|
Reporter: |
Jim Huang <jserv> |
| Component: |
Lib/Xlib | Assignee: |
Jim Gettys <jg> |
| Status: |
CLOSED
WONTFIX
|
QA Contact: |
|
| Severity: |
normal
|
|
|
| Priority: |
high
|
CC: |
roland.mainz
|
| Version: |
unspecified | |
|
| Hardware: |
x86 (IA32) | |
|
| OS: |
Linux (All) | |
|
| Whiteboard: |
|
|
i915 platform:
|
|
i915 features:
|
|
| Bug Depends on: |
1182
|
|
|
| Bug Blocks: |
|
|
|
| Attachments: |
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
The attachment is my attempt to backport Xorg's XIM fixing to FreeDesktop.org's modular xlibs. Here are the ChangeLogs: 2004-09-14 Egbert Eich <eich-at-freedesktop-org> * lib/X11/imInsClbk.c: (_XimUnRegisterIMInstantiateCallback): Unregistering events in XSelectInput() when unregistering IM filter callbacks may be a bad idea as others may be interested in this event. Removed the call to XSelectInput() altogether as we are in root window anyway (Lubos Lunak). 2004-08-31 Egbert Eich <eich-at-freedesktop-org> * lib/X11/GetWAttrs.c: (_XGetWindowAttributes), (XGetWindowAttributes): * lib/X11/PutBEvent.c: (_XPutBackEvent), (XPutBackEvent): * lib/X11/Xlibint.h: * lib/X11/imDefLkup.c: (_XimGetWindowEventmask): * lib/X11/imLcFlt.c: Fixed some lockups in XIM code when the application is running with multi thread support. These lockups occur deep down in XFilterEvents() which itself locks when another Xlib function gets called that also locks. This fixes two instances by separating those Xlib functions into an internal (non-locking) call and a locking wrapper that is used as an external function. There may be several other such instances therefore another more general patch is eventually required (Bugzilla #1182).