Merge changes from emacs-23 branch.
[bpt/emacs.git] / oldXMenu / EvHand.c
CommitLineData
2cd3138f
GM
1/* Copyright Massachusetts Institute of Technology 1985 */
2
e745ede7
DL
3#include "copyright.h"
4
e745ede7
DL
5
6/*
7 * XMenu: MIT Project Athena, X Window system menu package
8 *
9 * XMenuEventHandler - Set the XMenu asynchronous event handler.
10 *
11 * Author: Tony Della Fera, DEC
12 * December 19, 1985
13 *
14 */
15
16#include "XMenuInt.h"
17
b782e2d7 18XMenuEventHandler(int (*handler) (XEvent*))
e745ede7
DL
19{
20 /*
21 * Set the global event handler variable.
22 */
23 _XMEventHandler = handler;
24}
25
ab5796a9
MB
26/* arch-tag: 8d614c8c-94d9-43c8-8e32-c438a3c8a8a3
27 (do not change this comment) */