changeset 424:a9b60e014edd

*** empty log message ***
author Jim Blandy <jimb@redhat.com>
date Mon, 04 Nov 1991 06:29:57 +0000
parents a746c1098ea6
children ff8fa788745a
files src/xterm.h
diffstat 1 files changed, 10 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.h	Thu Oct 31 08:30:58 1991 +0000
+++ b/src/xterm.h	Mon Nov 04 06:29:57 1991 +0000
@@ -81,15 +81,21 @@
 extern XGCValues face_gc_values;				      
 
 /* The mask of events that text windows always want to receive.  This
-   does not include mouse movement events or button release events.
-   It is used when the window is created (in x_window) and when we
-   ask/unask for mouse movement events (in XTmouse_tracking_enable).
-   */
+   does not include mouse movement events.  It is used when the window
+   is created (in x_window) and when we ask/unask for mouse movement
+   events (in XTmouse_tracking_enable).
+
+   We do include ButtonReleases in this set because elisp isn't always
+   fast enough to catch them when it wants them, and they're rare
+   enough that they don't use much processor time.  */
 
 #define STANDARD_EVENT_SET      \
   (KeyPressMask			\
    | ExposureMask		\
    | ButtonPressMask		\
+   | ButtonReleaseMask		\
+   | PointerMotionMask		\
+   | PointerMotionHintMask	\
    | StructureNotifyMask	\
    | FocusChangeMask		\
    | LeaveWindowMask		\