SetFrz.c 638 B

123456789101112131415161718192021222324252627282930
  1. /* Copyright Massachusetts Institute of Technology 1985 */
  2. #include "copyright.h"
  3. /*
  4. * XMenu: MIT Project Athena, X Window system menu package
  5. *
  6. * XMenuSetFreeze - Forcibly set the menu freeze mode switch
  7. * overriding the Xdefaults setting.
  8. * This is necessary in some situations.
  9. *
  10. * Author: Tony Della Fera, DEC
  11. * January 29, 1986
  12. *
  13. */
  14. #include "XMenuInt.h"
  15. void
  16. XMenuSetFreeze(register XMenu *menu, register int freeze)
  17. /* Menu object to be modified. */
  18. /* Freeze mode? */
  19. {
  20. /*
  21. * Set the freeze mode switch.
  22. */
  23. menu->freeze = freeze;
  24. }