wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

xftdrawable.c (280B)


      1 /* Copyright ©2007-2010 Kris Maglione <maglione.k at Gmail>
      2  * See LICENSE file for license details.
      3  */
      4 #include "../x11.h"
      5 
      6 XftDraw*
      7 xftdrawable(Image *img) {
      8 	if(img->xft == nil)
      9 		img->xft = xft->drawcreate(display, img->xid, img->visual, img->colormap);
     10 	return img->xft;
     11 }