[Xcb] xpyb and other Python modules

Eamon Walsh ewalsh.mailinglists at gmail.com
Wed Dec 30 17:26:30 PST 2009


Julien Danjou wrote:
> At 1261458177 time_t, Eamon Walsh wrote:
>   
>> Hope this helps!  Making xpyb work with pycairo would be awesome.
>>     
>
> Damn, this really helps. I'm a newbie, I would not have find that soon!
> :-)
>
> So, I'm glad to announce that it works. :-)
>
> xpyb part:
>
>   git://git.naquadah.org/~jd/xpyb.git master
>
> Julien Danjou (1):
>       Export API for other Python modules
>
>  src/Makefile.am |    1 +
>  src/conn.h      |   15 +--------------
>  src/module.c    |    7 +++++++
>  src/xpyb.h      |   29 +++++++++++++++++++++++++++++
>  4 files changed, 38 insertions(+), 14 deletions(-)
>  create mode 100644 src/xpyb.h
>
>   

This change looks good and I will merge it.

I can't speak for the pycairo part but it looked OK to me.

> Test program attached.
> I'd be glad if someone can take a look at it. This is my first time at this,
> so I might have missed some things, you never know.
> If everything is fine, well, feel free to merge the xpyb patch, and I'll
> push the pycairo part to the relative maintainer.
>
> PS: I noticed the attached code does not work in Xephyr for some obscure
> reason: setup.roots[0].allowed_depths[0].visuals is 0 long. I'm not
> sure, but this looks like a bug.
>   

I'll check this out and see if I can reproduce this.


--Eamon W.



More information about the Xcb mailing list