aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy <[email protected]>1991-11-04 06:29:57 +0000
committerJim Blandy <[email protected]>1991-11-04 06:29:57 +0000
commit8828b3939d4b391fa8a31c396f34cf605d0271f8 (patch)
tree0e40407e96ede839916106bbb918938477e6c137 /src
parent5bbbceb1dea7c7a7387fe451f606cb2b1d6faa0a (diff)
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r--src/xterm.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/xterm.h b/src/xterm.h
index 58d3dd878e..c11f8ca713 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -81,15 +81,21 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
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 \