Mercurial > emacs
annotate oldXMenu/SetFrz.c @ 70528:c8171c0fa382
(mwheel-scroll): Make sure that when scrolling multiple
pages at a time, if we signal the end, we should indeed reach that end.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 08 May 2006 15:14:26 +0000 |
parents | e8a3fb527b77 |
children | ce127a46b1ca d04d8ccb3c41 c5406394f567 |
rev | line source |
---|---|
25858 | 1 #include "copyright.h" |
2 | |
3 /* Copyright Massachusetts Institute of Technology 1985 */ | |
68640
e8a3fb527b77
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
65000
diff
changeset
|
4 /* Copyright (C) 2002, 2003, 2004, 2005, |
e8a3fb527b77
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
65000
diff
changeset
|
5 2006 Free Software Foundation, Inc. */ |
25858 | 6 |
7 /* | |
8 * XMenu: MIT Project Athena, X Window system menu package | |
9 * | |
10 * XMenuSetFreeze - Forcibly set the menu freeze mode switch | |
11 * overriding the Xdefaults setting. | |
12 * This is necessary in some situations. | |
13 * | |
14 * Author: Tony Della Fera, DEC | |
15 * January 29, 1986 | |
16 * | |
17 */ | |
18 | |
19 #include "XMenuInt.h" | |
20 | |
21 XMenuSetFreeze(menu, freeze) | |
22 register XMenu *menu; /* Menu object to be modified. */ | |
23 register int freeze; /* Freeze mode? */ | |
24 { | |
25 /* | |
26 * Set the freeze mode switch. | |
27 */ | |
28 menu->freeze = freeze; | |
29 } | |
52401 | 30 |
31 /* arch-tag: 69c5670b-3a46-4c78-8fdb-305936d79772 | |
32 (do not change this comment) */ |