summaryrefslogtreecommitdiff
path: root/clients/xzwrite/GetString.c
diff options
context:
space:
mode:
Diffstat (limited to 'clients/xzwrite/GetString.c')
-rw-r--r--clients/xzwrite/GetString.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/clients/xzwrite/GetString.c b/clients/xzwrite/GetString.c
index 3195c26..85e3463 100644
--- a/clients/xzwrite/GetString.c
+++ b/clients/xzwrite/GetString.c
@@ -12,7 +12,6 @@
static int accepted, cancelled;
static void Accept(), Cancel(), Focus();
-static int HierEvent();
extern void Popup();
@@ -94,30 +93,6 @@ int GetString(getStringWindow, label, value, pop_type, buf, len)
return GETSTRING_CANCEL;
}
-/*
- * I thought I needed this routine becaues XtAppNextEvent was
- * returning events for widgets that should have been blocked by the
- * XtGrabExclusive.. but it turns out that XtDispatch deals with that
- * (correctly) so this code is useless.
- */
-static int HierEvent(w, event)
- Widget w;
- XAnyEvent *event;
-{
- Widget event_w;
-
- event_w = XtWindowToWidget(XtDisplay(w), event->window);
-
- while (event_w = XtParent(event_w)) {
- if (w == event_w)
- return 1;
- else if (XtIsShell(event_w))
- break;
- }
-
- return 0;
-}
-
/* ARGSUSED */
static void Accept(w, e, p, n)
Widget w;