summaryrefslogtreecommitdiff
path: root/src/Vendor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Vendor.c')
-rw-r--r--src/Vendor.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Vendor.c b/src/Vendor.c
index 6b34b31..2b2b99f 100644
--- a/src/Vendor.c
+++ b/src/Vendor.c
@@ -109,6 +109,8 @@ static XtGeometryResult GeometryManager(Widget, XtWidgetGeometry *, XtWidgetGeom
static void XawVendorShellClassPartInit(WidgetClass);
void XawVendorShellExtResize(Widget);
#endif
+void XawVendorStructureNotifyHandler(Widget, XtPointer, XEvent*, Boolean*);
+
#if defined(__UNIXOS2__) || defined(__CYGWIN__) || defined(__MINGW32__) || defined(__APPLE__)
/* to fix the EditRes problem because of wrong linker semantics */
@@ -576,6 +578,14 @@ XawVendorShellExtResize(Widget w)
}
}
}
+
+/*ARGSUSED*/
+void
+XawVendorStructureNotifyHandler(Widget w, XtPointer closure _X_UNUSED, XEvent *event _X_UNUSED,
+ Boolean *continue_to_dispatch _X_UNUSED)
+{
+ XawVendorShellExtResize(w);
+}
#endif
/*ARGSUSED*/