summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEgbert Eich <eich@freedesktop.org>2004-08-31 11:37:03 +0000
committerEgbert Eich <eich@freedesktop.org>2004-08-31 11:37:03 +0000
commit2d3afb68a104a80a21ee622b9abb9c95e83505d3 (patch)
tree98d56bd26998e173fc6b6dc138eb83a9c824cb31 /include
parente689746c8d0e21e9011e8b91a3071d235d3a2a74 (diff)
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).
Diffstat (limited to 'include')
-rw-r--r--include/X11/Xlibint.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/X11/Xlibint.h b/include/X11/Xlibint.h
index c1966ad..4ff7fb6 100644
--- a/include/X11/Xlibint.h
+++ b/include/X11/Xlibint.h
@@ -1298,6 +1298,15 @@ extern void _XSetClipRectangles (
int n,
int ordering);
+Status _XGetWindowAttributes(
+ register Display *dpy,
+ Window w,
+ XWindowAttributes *attr);
+
+int _XPutBackEvent (
+ register Display *dpy,
+ register XEvent *event);
+
_XFUNCPROTOEND
#endif /* _XLIBINT_H_ */