286
286
xrect.width = rect->width;
287
287
xrect.height = rect->height;
289
289
XUnionRectWithRegion (&xrect, outer_xregion, outer_xregion);
291
291
xrect.x += OUTLINE_WIDTH;
292
292
xrect.y += OUTLINE_WIDTH;
293
293
xrect.width -= OUTLINE_WIDTH * 2;
296
296
XUnionRectWithRegion (&xrect, inner_xregion, inner_xregion);
298
298
XSubtractRegion (outer_xregion, inner_xregion, outer_xregion);
300
300
XShapeCombineRegion (display->xdisplay, xwindow,
301
301
ShapeBounding, 0, 0, outer_xregion, ShapeSet);
303
303
XDestroyRegion (outer_xregion);
304
304
XDestroyRegion (inner_xregion);