SetAEQ.c 697 B

12345678910111213141516171819202122232425262728293031
  1. /* Copyright Massachusetts Institute of Technology 1985 */
  2. #include "copyright.h"
  3. /*
  4. * XMenu: MIT Project Athena, X Window system menu package
  5. *
  6. * XMenuSetAEQ - Set Asynchronous event queuing mode.
  7. * When enabled asynchronous events will be queue while
  8. * a menu is being displayed and restored to the X
  9. * event queue when the menu is taken down.
  10. *
  11. * Author: Tony Della Fera, DEC
  12. * March 12, 1986
  13. *
  14. */
  15. #include "XMenuInt.h"
  16. void
  17. XMenuSetAEQ(register XMenu *menu, register int aeq)
  18. /* Menu object to be modified. */
  19. /* AEQ mode? */
  20. {
  21. /*
  22. * Set the AEQ mode switch.
  23. */
  24. menu->aeq = aeq;
  25. }