[Xcb] xcb_clear_area

Peter Harris peter.harris at hummingbird.com
Thu Dec 11 12:11:18 PST 2008


Matthew Allen wrote:
> I needed an xcb_flush after the xcb_clear_area to get the EXPOSE events.
> 
> I'm still not sure which things need an xcb_flush and which don't.

It's very simple: Everything needs an xcb_flush.

The only exception is *_reply() (and xcb_request_check), which will call
xcb_flush for you if necessary to receive the reply.

Peter Harris
-- 
     Hummingbird Connectivity - A Division of Open Text
Peter Harris                    http://connectivity.hummingbird.com
Research and Development        Phone: +1 905 762 6001
peter.harris at hummingbird.com    Toll Free: 1 877 359 4866


More information about the Xcb mailing list