home *** CD-ROM | disk | FTP | other *** search
- /* Caution: These are unpublished patches and may not be
- * redistributed. Anyone installing them should preserve
- * the old version of the files so that the published fix
- * may be installed without error when it becomes available.
- */
-
- *** old/lib/Xt/Geometry.c
- --- lib/Xt/Geometry.c
- ***************
- *** 1,5 ****
- #ifndef lint
- ! static char Xrcsid[] = "$XConsortium: Geometry.c,v 1.29 88/09/06 16:27:56 jim Exp $";
- /* $oHeader: Geometry.c,v 1.3 88/08/23 11:37:50 asente Exp $ */
- #endif lint
-
- --- 1,5 ----
- #ifndef lint
- ! static char Xrcsid[] = "$XConsortium: Geometry.c,v 1.32 89/01/18 12:38:04 swick Exp $";
- /* $oHeader: Geometry.c,v 1.3 88/08/23 11:37:50 asente Exp $ */
- #endif lint
-
- ***************
- *** 48,53 ****
- --- 48,54 ----
- "XtMakeGeometryRequest - NULL parent. Use SetValues instead",
- (String *)NULL, (Cardinal *)NULL);
- }
- + managed = XtIsManaged(widget);
-
- if (XtIsComposite(parent)) {
- parentRealized = XtIsRealized(parent);
- ***************
- *** 60,76 ****
- manager = ((CompositeObjectClass) (parent->core.widget_class))
- ->composite_class.geometry_manager;
-
- ! } else {
- /* Should never happen - XtManageChildren should have checked */
- XtErrorMsg("invalidParent","xtMakeGeometryRequest","XtToolkitError",
- "XtMakeGeometryRequest - parent not composite",
- (String *)NULL, (Cardinal *)NULL);
- }
-
- ! if (manager == (XtGeometryHandler) NULL) {
- XtErrorMsg("invalidGeometryManager","xtMakeGeometryRequest",
- "XtToolkitError",
- ! "XtMakeGeometryRequest - parent has no geometry manger",
- (String *)NULL, (Cardinal *)NULL);
- }
-
- --- 61,84 ----
- manager = ((CompositeObjectClass) (parent->core.widget_class))
- ->composite_class.geometry_manager;
-
- ! } else if (managed) {
- /* Should never happen - XtManageChildren should have checked */
- XtErrorMsg("invalidParent","xtMakeGeometryRequest","XtToolkitError",
- "XtMakeGeometryRequest - parent not composite",
- (String *)NULL, (Cardinal *)NULL);
- + } else {
- + /* no need to waste time checking if parent is actually realized
- + * at this point; since the child is unmanaged we need to perform
- + * the configure iff the child is realized, so we dummy the
- + * parentRealized checks below.
- + */
- + parentRealized = TRUE;
- }
-
- ! if (managed && manager == (XtGeometryHandler) NULL) {
- XtErrorMsg("invalidGeometryManager","xtMakeGeometryRequest",
- "XtToolkitError",
- ! "XtMakeGeometryRequest - parent has no geometry manager",
- (String *)NULL, (Cardinal *)NULL);
- }
-
- ***************
- *** 81,87 ****
- } else {
- widgetRealized = FALSE;
- };
- - managed = XtIsManaged(widget);
-
- /* see if requesting anything to change */
- changeMask = 0;
- --- 89,94 ----
- *** old/lib/Xt/TMstate.c
- --- lib/Xt/TMstate.c
- *** /tmp/,RCSt1a02952 Thu Feb 23 11:28:13 1989
- --- TMstate.c Tue Jan 31 15:50:54 1989
- ***************
- *** 1,5 ****
- #ifndef lint
- ! static char Xrcsid[] = "$XConsortium: TMstate.c,v 1.67 89/01/30 15:01:40 swick Exp $";
- /* $oHeader: TMstate.c,v 1.5 88/09/01 17:17:29 asente Exp $ */
- #endif lint
- /*LINTLIBRARY*/
- --- 1,5 ----
- #ifndef lint
- ! static char Xrcsid[] = "$XConsortium: TMstate.c,v 1.68 89/01/31 15:50:05 swick Exp $";
- /* $oHeader: TMstate.c,v 1.5 88/09/01 17:17:29 asente Exp $ */
- #endif lint
- /*LINTLIBRARY*/
- ***************
- *** 1114,1120 ****
- unbound != 0 && actionList != NULL;
- actionList = actionList->next) {
- unbound = BindAccActions(widget,stateTable, actionList->table,
- ! index, (XtBoundAccActions) accBindings);
- }
- /* if (unbound != 0) ReportUnboundActions(tm, stateTable);*/
- (*accBindings) = accTemp;
- --- 1114,1120 ----
- unbound != 0 && actionList != NULL;
- actionList = actionList->next) {
- unbound = BindAccActions(widget,stateTable, actionList->table,
- ! index, accTemp);
- }
- /* if (unbound != 0) ReportUnboundActions(tm, stateTable);*/
- (*accBindings) = accTemp;
-
-