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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
25858
Dave Love <fx@gnu.org>
parents:
diff changeset
1 #include "copyright.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
2
Dave Love <fx@gnu.org>
parents:
diff changeset
3 /* Copyright Massachusetts Institute of Technology 1985 */
Dave Love <fx@gnu.org>
parents:
diff changeset
4
Dave Love <fx@gnu.org>
parents:
diff changeset
5 /*
Dave Love <fx@gnu.org>
parents:
diff changeset
6 * XMenu: MIT Project Athena, X Window system menu package
Dave Love <fx@gnu.org>
parents:
diff changeset
7 *
Dave Love <fx@gnu.org>
parents:
diff changeset
8 * XMenuEventHandler - Set the XMenu asynchronous event handler.
Dave Love <fx@gnu.org>
parents:
diff changeset
9 *
Dave Love <fx@gnu.org>
parents:
diff changeset
10 * Author: Tony Della Fera, DEC
Dave Love <fx@gnu.org>
parents:
diff changeset
11 * December 19, 1985
Dave Love <fx@gnu.org>
parents:
diff changeset
12 *
Dave Love <fx@gnu.org>
parents:
diff changeset
13 */
Dave Love <fx@gnu.org>
parents:
diff changeset
14
Dave Love <fx@gnu.org>
parents:
diff changeset
15 #include "XMenuInt.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
16
Dave Love <fx@gnu.org>
parents:
diff changeset
17 XMenuEventHandler(handler)
Dave Love <fx@gnu.org>
parents:
diff changeset
18 int (*handler)();
Dave Love <fx@gnu.org>
parents:
diff changeset
19 {
Dave Love <fx@gnu.org>
parents:
diff changeset
20 /*
Dave Love <fx@gnu.org>
parents:
diff changeset
21 * Set the global event handler variable.
Dave Love <fx@gnu.org>
parents:
diff changeset
22 */
Dave Love <fx@gnu.org>
parents:
diff changeset
23 _XMEventHandler = handler;
Dave Love <fx@gnu.org>
parents:
diff changeset
24 }
Dave Love <fx@gnu.org>
parents:
diff changeset
25
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 25858
diff changeset
26 /* arch-tag: 8d614c8c-94d9-43c8-8e32-c438a3c8a8a3
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 25858
diff changeset
27 (do not change this comment) */