summaryrefslogtreecommitdiff
path: root/src/SetValues.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/SetValues.c')
-rw-r--r--src/SetValues.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/SetValues.c b/src/SetValues.c
index a326b0f..d05fcc5 100644
--- a/src/SetValues.c
+++ b/src/SetValues.c
@@ -201,7 +201,6 @@ XtSetValues(register Widget w, ArgList args, Cardinal num_args)
double oldcCache[20], reqcCache[20];
Cardinal widgetSize, constraintSize;
Boolean redisplay, cleared_rect_obj = False;
- XtGeometryResult result;
XtWidgetGeometry geoReq, geoReply;
WidgetClass wc;
ConstraintWidgetClass cwc = NULL;
@@ -324,6 +323,8 @@ XtSetValues(register Widget w, ArgList args, Cardinal num_args)
}
if (geoReq.request_mode != 0) {
+ XtGeometryResult result;
+
/* Pass on any requests for unchanged geometry values */
if (geoReq.request_mode !=
(CWX | CWY | CWWidth | CWHeight | CWBorderWidth)) {