Commit | Line | Data |
---|---|---|
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 | ||
55660072 | 18 | void |
b782e2d7 | 19 | XMenuEventHandler(int (*handler) (XEvent*)) |
e745ede7 DL |
20 | { |
21 | /* | |
22 | * Set the global event handler variable. | |
23 | */ | |
24 | _XMEventHandler = handler; | |
25 | } |