On Tue, Jul 24 2012, Arvydas Sidorenko wrote: > I took a look into XCB reference and that's right, silly move to use Xlib > from me. > But that introduces another issue - imlib2 requires Display and Visual data > structures from Xlib. Anyone for the task to port imlib2 to XCB? :P > Otherwise cannot think of another alternative which would be flexible, small > in loc and already available with Awesome installation.
Uli said: root.wallpaper(gears.surface("/path/to/an/image"))
So you should expect a Cairo surface as first argument. You can then use
it to paint directly on the root window pixmap. No need to use Imlib2 to
draw.
--
Julien Danjou
/* Free Software hacker & freelance
http://julien.danjou.info */
pgp1wFuPfA3ro.pgp
Description: PGP signature
