[PATCH] Replace libx11 by libxcb

Julien Danjou julien at danjou.info
Tue Jul 27 11:33:35 PDT 2010


On Tue, Jul 27 2010, Thiago Macieira wrote:

> It will not be merged if it removes the X11 code.

As you wish.
Maybe I can resend the patch around 2013 then.

> And on that subject, what's the benefit of your patch?

Oh, sorry, I though that was obvious to a Qt developer.

The benefit is dropping libx11 dependency and usage (old bad ugly code,
you may know) and usage of asynchronous request/reply sequences. In the
case of D-Bus, mainly in the atom requests. Which can be considered as
ridiculously small, I admit.

But if you're not aware, there's a recent trend which is to drop libx11
in favor of libxcb. Several Xorg apps have already been ported, and
libx11 is using libxcb as a transport by default for a long time.

New X.org katamari will therefore brings XCB in a mandatory way, whereas
it was previously optional.

I hope that's enough for you. But please, next time, try to dig a bit
yourself.

-- 
Julien Danjou
// ᐰ <julien at danjou.info>   http://julien.danjou.info
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20100727/dd58075a/attachment.pgp>


More information about the dbus mailing list