From 4b9cae628e8c06d106948c4fe5af96bb1138e8b6 Mon Sep 17 00:00:00 2001 From: lecoanet Date: Fri, 26 May 2000 08:14:15 +0000 Subject: Modif de la structure de classe pour l'ajout des nouvelles m�thodes. Prise en compte de l'anneau de focus. --- generic/Group.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'generic') 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, -- cgit v1.1