projects
/
free-sw
/
xcb
/
libxcb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Provide a "has error" property for XCBConnection.
[free-sw/xcb/libxcb]
/
src
/
xcb_xlib.c
diff --git
a/src/xcb_xlib.c
b/src/xcb_xlib.c
index
8cc6837
..
61518f7
100644
(file)
--- a/
src/xcb_xlib.c
+++ b/
src/xcb_xlib.c
@@
-28,11
+28,7
@@
unsigned int XCBGetRequestSent(XCBConnection *c)
{
unsigned int XCBGetRequestSent(XCBConnection *c)
{
- unsigned int ret;
- pthread_mutex_lock(&c->iolock);
- ret = c->out.request;
- pthread_mutex_unlock(&c->iolock);
- return ret;
+ return c->out.request;
}
pthread_mutex_t *XCBGetIOLock(XCBConnection *c)
}
pthread_mutex_t *XCBGetIOLock(XCBConnection *c)