diff options
author | Jamey Sharp <jamey@minilop.net> | 2008-05-21 14:44:16 -0700 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2008-10-29 15:40:41 -0700 |
commit | baff35a04b0e8d21821850a405a550d86a8aeb6f (patch) | |
tree | 3981e222feedaafd9a41ae4af52fef6d9a559e3b /src/xcb_out.c | |
parent | 96e55444b9b9500420f9132a1ace720100a26398 (diff) |
Track 64-bit sequence numbers internally.
External APIs that used 32-bit sequence numbers continue to do so.
Commit by Josh Triplett and Jamey Sharp.
Diffstat (limited to 'src/xcb_out.c')
-rw-r--r-- | src/xcb_out.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xcb_out.c b/src/xcb_out.c index ad4240a..1094ceb 100644 --- a/src/xcb_out.c +++ b/src/xcb_out.c @@ -112,7 +112,7 @@ unsigned int xcb_send_request(xcb_connection_t *c, int flags, struct iovec *vect } fields; uint32_t packet; } sync_req = { { /* GetInputFocus */ 43, 0, 1 } }; - unsigned int request; + uint64_t request; uint32_t prefix[3] = { 0 }; int veclen = req->count; enum workarounds workaround = WORKAROUND_NONE; @@ -282,7 +282,7 @@ int _xcb_out_send(xcb_connection_t *c, struct iovec **vector, int *count) return ret; } -int _xcb_out_flush_to(xcb_connection_t *c, unsigned int request) +int _xcb_out_flush_to(xcb_connection_t *c, uint64_t request) { assert(XCB_SEQUENCE_COMPARE(request, <=, c->out.request)); if(XCB_SEQUENCE_COMPARE(c->out.request_written, >=, request)) |