[PATCH] Replace libx11 by libxcb

Thiago Macieira thiago at kde.org
Tue Jul 27 14:50:26 PDT 2010


On Tuesday 27. July 2010 17.19.30 Julien Danjou wrote:
> > If you can make both codepaths live in harmony, we can take the patch. 
> > Provided it doesn't make the code more complex, of course.
> 
> It should just add some #ifdef I guess. If you can live with that, I can
> add the following changes:
> 
> - change configure.in to use libxcb if available, or fallback to libx11,
>   or disable X11 support if no one is present
> - add some #ifdef between xcb/xlib code.

I think that's ok.

I'm not sure though of the value. Like you said yourself, the benefit may be 
very small. And from the patch, we gain complexity, because now we have to 
maintain two codepaths...

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20100727/1753acf2/attachment.pgp>


More information about the dbus mailing list