Thanks for the information. Is there any link which shows an example of how
to use this APIs for example, if I want to create a rounded-rect window.
I see we can only combine 2 regions [by XShapeCombineRegion] which is again
a rectangle
as the Region structure says
typedef struct _XRegion {
long size;
long numRects;
Box *rects; where Box is {x1, x2, y1, y2};
Box extents; //not sure what this is for
}
On Mon, Jan 24, 2011 at 1:36 PM, Alan Coopersmith <
[email protected]> wrote:
> On 01/23/11 11:13 PM, Prasanta Sadhukhan wrote:
> > Hi
> >
> > I was wondering if X11 has any way of supporting/creating a
> non-rectangular window?
>
> http://www.x.org/releases/X11R7.6/doc/libXext/shapelib.html or
> http://www.x.org/releases/X11R7.6/doc/libXext/shapelib.pdf if you prefer
> PDF.
>
> --
> -Alan Coopersmith- [email protected]
> Oracle Solaris Platform Engineering: X Window System
>
>
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel