projects
/
free-sw
/
xcb
/
libxcb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b83f8f
)
Move request_written update back where it was for now: doing it early can cause XCBWa...
author
Jamey Sharp
<jamey@minilop.net>
Thu, 23 Feb 2006 22:32:11 +0000
(14:32 -0800)
committer
Jamey Sharp
<jamey@minilop.net>
Thu, 23 Feb 2006 22:32:11 +0000
(14:32 -0800)
src/xcb_out.c
patch
|
blob
|
history
diff --git
a/src/xcb_out.c
b/src/xcb_out.c
index
a3cb2e4
..
b9595af
100644
(file)
--- a/
src/xcb_out.c
+++ b/
src/xcb_out.c
@@
-305,9
+305,9
@@
int _xcb_out_write_block(XCBConnection *c, struct iovec *vector, size_t count)
int _xcb_out_flush(XCBConnection *c)
{
int ret = 1;
- c->out.request_written = c->out.request;
while(ret && (c->out.queue_len || c->out.vec_len))
ret = _xcb_conn_wait(c, /*should_write*/ 1, &c->out.cond);
+ c->out.request_written = c->out.request;
pthread_cond_broadcast(&c->out.cond);
return ret;
}