client.content: Return a cairo xcb surface
commit813fb94ce8f30062df3ee529c7a910af9e5b75bf
authorUli Schlachter <psychon@znc.in>
Mon, 16 Sep 2013 10:09:40 +0000 (16 12:09 +0200)
committerUli Schlachter <psychon@znc.in>
Mon, 16 Sep 2013 10:09:40 +0000 (16 12:09 +0200)
tree0edb92167c152f256715b1fde40ec70b5c697a97
parent11bef0795a450865b589c1c906bf97141436d314
client.content: Return a cairo xcb surface

We no longer have to turn the client's content into an image buffer "by hand".
Instead, we can just use cairo for the job.

Even more exciting, we don't need to turn this into an image buffer at all. We
can just directly return a cairo xcb surface for the client window. Depending on
how lua will use this surface, this could make it possible to avoid having to
create the image buffer at all!

Signed-off-by: Uli Schlachter <psychon@znc.in>
objects/client.c