summaryrefslogtreecommitdiff
path: root/oldXMenu/EvHand.c
diff options
context:
space:
mode:
Diffstat (limited to 'oldXMenu/EvHand.c')
-rw-r--r--oldXMenu/EvHand.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/oldXMenu/EvHand.c b/oldXMenu/EvHand.c
new file mode 100644
index 00000000000..5852e1b8454
--- /dev/null
+++ b/oldXMenu/EvHand.c
@@ -0,0 +1,26 @@
+#include "copyright.h"
+
+/* $Header: EvHand.c,v 1.2 87/12/20 12:04:57 rws Exp $ */
+/* Copyright Massachusetts Institute of Technology 1985 */
+
+/*
+ * XMenu: MIT Project Athena, X Window system menu package
+ *
+ * XMenuEventHandler - Set the XMenu asynchronous event handler.
+ *
+ * Author: Tony Della Fera, DEC
+ * December 19, 1985
+ *
+ */
+
+#include "XMenuInt.h"
+
+XMenuEventHandler(handler)
+ int (*handler)();
+{
+ /*
+ * Set the global event handler variable.
+ */
+ _XMEventHandler = handler;
+}
+