setshapemask.c (324B)
1 /* Copyright ©2007-2010 Kris Maglione <maglione.k at Gmail> 2 * See LICENSE file for license details. 3 */ 4 #include "../x11.h" 5 6 void 7 setshapemask(Window *dst, Image *src, Point pt) { 8 /* Assumes that we have the shape extension... */ 9 XShapeCombineMask (display, dst->xid, 10 ShapeBounding, pt.x, pt.y, src->xid, ShapeSet); 11 }