supporting non-rectangular windows

Prasanta Sadhukhan psadhukhan at
Mon Jan 24 03:34:42 PST 2011

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 <
alan.coopersmith at> 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?
> or
> if you prefer
> PDF.
> --
>        -Alan Coopersmith-        alan.coopersmith at
>         Oracle Solaris Platform Engineering: X Window System
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the xorg-devel mailing list