[PATCH] Replace libx11 by libxcb

Julien Danjou julien at danjou.info
Wed Jul 28 09:01:54 PDT 2010


On Wed, Jul 28 2010, Havoc Pennington wrote:

> Given that libX11 now uses xcb as backend, I don't understand the
> value of porting to use libxcb directly when there isn't an issue of
> round trips or other stuff.

The (very) long term goal is to drop libX11. At least as much as
possible. For the best.

This is why various people port various stuff to libxcb this day, like
for example Xephyr was recently ported to XCB by Julien Cristau[1].

> It will just make #ifdef hell, while the
> X11 API is an API that works on both xcb and non-xcb platforms.

That's just why I removed the X11 code in the first version…

> Maybe people should be thinking about porting xcb to non-Linux
> platforms?

I'm not sure of the meaning of 'port' here. If you mean packaging, I
agree.
If you mean make XCB compiles everywhere, that should already be the case.
There's even an almost finished port to Win32.

[1] http://lists.freedesktop.org/archives/xcb/2010-July/006281.html

-- 
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/20100728/5c0d03d4/attachment.pgp>


More information about the dbus mailing list