aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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 58d3dd878e0..c11f8ca713a 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -81,15 +81,21 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
81extern XGCValues face_gc_values; 81extern XGCValues face_gc_values;
82 82
83/* The mask of events that text windows always want to receive. This 83/* The mask of events that text windows always want to receive. This
84 does not include mouse movement events or button release events. 84 does not include mouse movement events. It is used when the window
85 It is used when the window is created (in x_window) and when we 85 is created (in x_window) and when we ask/unask for mouse movement
86 ask/unask for mouse movement events (in XTmouse_tracking_enable). 86 events (in XTmouse_tracking_enable).
87 */ 87
88 We do include ButtonReleases in this set because elisp isn't always
89 fast enough to catch them when it wants them, and they're rare
90 enough that they don't use much processor time. */
88 91
89#define STANDARD_EVENT_SET \ 92#define STANDARD_EVENT_SET \
90 (KeyPressMask \ 93 (KeyPressMask \
91 | ExposureMask \ 94 | ExposureMask \
92 | ButtonPressMask \ 95 | ButtonPressMask \
96 | ButtonReleaseMask \
97 | PointerMotionMask \
98 | PointerMotionHintMask \
93 | StructureNotifyMask \ 99 | StructureNotifyMask \
94 | FocusChangeMask \ 100 | FocusChangeMask \
95 | LeaveWindowMask \ 101 | LeaveWindowMask \