[Xcb] icccm

Vincent Torri Vincent.Torri at iecn.u-nancy.fr
Mon Mar 21 11:49:51 PST 2005


>
> > And as i think of it, here is a question : should i use XCBSync where
> > there was a XSynch ? or xcb allows to not use it in some cases ?
>
> XCB never *requires* a call to XCBSync.  All XCBSync does is make a
> request that has a reply (GetInputFocus), then wait for the reply; the
> semantics of the X protocol require all previous requests to be handled
> before that reply is returned, causing a sync.  (The semantics are
> slightly different than Xlib, since only void requests may be batched in
> Xlib, whereas all requests may be batched in XCB.)  To the best of my
> knowledge, doing a sync or not doing a sync will not affect the
> correctness of your application.

well, i have supressed all the calls of XCBSync, and it is not good at all
:) Some contents are not mapped, and animations are not smooth anymore

Vincent


More information about the xcb mailing list