diff options
Diffstat (limited to 'oldXMenu/SetFrz.c')
-rw-r--r-- | oldXMenu/SetFrz.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/oldXMenu/SetFrz.c b/oldXMenu/SetFrz.c new file mode 100644 index 00000000000..dc1448cbc8a --- /dev/null +++ b/oldXMenu/SetFrz.c @@ -0,0 +1,28 @@ +#include "copyright.h" + +/* $Header: SetFrz.c,v 1.2 87/12/20 12:05:56 rws Exp $ */ +/* Copyright Massachusetts Institute of Technology 1985 */ + +/* + * XMenu: MIT Project Athena, X Window system menu package + * + * XMenuSetFreeze - Forcibly set the menu freeze mode switch + * overriding the Xdefaults setting. + * This is necessary in some situations. + * + * Author: Tony Della Fera, DEC + * January 29, 1986 + * + */ + +#include "XMenuInt.h" + +XMenuSetFreeze(menu, freeze) + register XMenu *menu; /* Menu object to be modified. */ + register int freeze; /* Freeze mode? */ +{ + /* + * Set the freeze mode switch. + */ + menu->freeze = freeze; +} |