[Xcb] How come there is no xcb_free_id()?

Bart Massey bart at cs.pdx.edu
Wed Mar 20 01:22:42 PDT 2013


I assume you mean xcb_free_xid()? It's not needed. xcb_generate_xid()
will always hand you a fresh one; if it runs out, it will ask the
server (via the xc_misc extension) for some unused ones to hand out in
the future. In general, folks just plow through xids fairly
indiscriminately, since they're cheap. --Bart

On Tue, Mar 19, 2013 at 5:41 PM, medusade <medusade at cox.net> wrote:
> Xcb, How come there is no xcb_free_id()?
> medusade
>
>
> _______________________________________________
> Xcb mailing list
> Xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb


More information about the Xcb mailing list