EvHand.c 457 B

1234567891011121314151617181920212223242526
  1. /* Copyright Massachusetts Institute of Technology 1985 */
  2. #include "copyright.h"
  3. /*
  4. * XMenu: MIT Project Athena, X Window system menu package
  5. *
  6. * XMenuEventHandler - Set the XMenu asynchronous event handler.
  7. *
  8. * Author: Tony Della Fera, DEC
  9. * December 19, 1985
  10. *
  11. */
  12. #include "XMenuInt.h"
  13. void
  14. XMenuEventHandler(int (*handler) (XEvent*))
  15. {
  16. /*
  17. * Set the global event handler variable.
  18. */
  19. _XMEventHandler = handler;
  20. }