Mercurial > emacs
annotate oldXMenu/EvHand.c @ 58194:00222ee714ca
(mouse-drag-copy-region): Add :version.
(mouse-drag-mode-line-1): Let bind mouse-autoselect-window to nil
while dragging mode line, so mode line can be dragged downwards.
(mouse-drag-region-1): Let bind make-cursor-line-fully-visible
while pressing mouse button so window doesn't scroll until we
release the mouse if clicking on partially visible line.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Sat, 13 Nov 2004 01:29:45 +0000 |
parents | e8824c4f5f7e |
children | 3861ff8f4bf1 8e5779acd195 |
rev | line source |
---|---|
25858 | 1 #include "copyright.h" |
2 | |
3 /* Copyright Massachusetts Institute of Technology 1985 */ | |
4 | |
5 /* | |
6 * XMenu: MIT Project Athena, X Window system menu package | |
7 * | |
8 * XMenuEventHandler - Set the XMenu asynchronous event handler. | |
9 * | |
10 * Author: Tony Della Fera, DEC | |
11 * December 19, 1985 | |
12 * | |
13 */ | |
14 | |
15 #include "XMenuInt.h" | |
16 | |
17 XMenuEventHandler(handler) | |
18 int (*handler)(); | |
19 { | |
20 /* | |
21 * Set the global event handler variable. | |
22 */ | |
23 _XMEventHandler = handler; | |
24 } | |
25 | |
52401 | 26 /* arch-tag: 8d614c8c-94d9-43c8-8e32-c438a3c8a8a3 |
27 (do not change this comment) */ |