[Xcb] Synchronization problem.

Julien Danjou julien at danjou.info
Tue Aug 26 10:37:20 PDT 2008


At 1219771401 time_t, Ian Osgood wrote:
> When things like this don't work, try xcb_flush() after sending a  
> batch of requests and before polling for events. It introduces less  
> latency than the full request/reply round-trip of xcb_aux_sync().
> 
> XCB programmers run into this problem because, unlike Xlib, the XCB  
> event and reply functions don't internally flush before listening for  
> events.

You made my day.

Cheers,
-- 
Julien Danjou
// ᐰ <julien at danjou.info>   http://julien.danjou.info
// 9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/xcb/attachments/20080826/a781574e/attachment.pgp 


More information about the Xcb mailing list