diff options
Diffstat (limited to 'generic/Group.c')
-rw-r--r-- | generic/Group.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/generic/Group.c b/generic/Group.c index 029e32c..c794d7d 100644 --- a/generic/Group.c +++ b/generic/Group.c @@ -310,8 +310,8 @@ SetXShape(Item grp) /* * Now normalize the shape and map it to the window size. */ - width = wi->width + 2*wi->border_width; - height = wi->height + 2*wi->border_width; + width = wi->width + 2*wi->inset; + height = wi->height + 2*wi->inset; xpts = (XPoint *) ZnMalloc(max_num_pts * sizeof(XPoint)); XShapeCombineMask(wi->dpy, wi->full_reshape?ZnWindowId(wi->win):wi->real_top, ShapeBounding, 0, 0, None, ShapeSet); @@ -1067,6 +1067,11 @@ static ItemClassStruct GROUP_ITEM_CLASS = { NULL, /* GetAnchor */ NULL, /* GetClipVertices */ Coords, + NULL, /* InsertChars */ + NULL, /* DeleteChars */ + NULL, /* Cursor */ + NULL, /* Index */ + NULL, /* Selection */ NULL, /* Contour */ ComputeCoordinates, ToArea, |