Slow XQueryPointer?

Adam Jackson ajax at
Fri Jan 27 09:13:15 PST 2012

On 1/27/12 10:55 AM, Matt Turner wrote:
> On Fri, Jan 27, 2012 at 5:32 AM, Lauri Kasanen<cand at>  wrote:
>>> You don't have to convert the entire app to XCB to be able to use it for
>>> just one or two calls, for example, most of xdpyinfo uses libX11 calls
>>> still, but the loop to list extensions uses xcb to be able to send all
>>> the queries and then wait for all the responses instead of doing a
>>> blocking call for every single extension:
>> Yes, but then I'd depend on libxcb (or have to dive into dlopen and friends).
>> =libX11-1.4 requires libxcb, so it's not an unreasonable dependency.

libX11 1.4 is only like 14 months old.  Client libs move really slowly.

- ajax

More information about the xorg mailing list