# HG changeset patch # User Jim Blandy # Date 689236197 0 # Node ID a9b60e014edd007a7bf9af79da9a4dc134d0534c # Parent a746c1098ea6ec3a21d67f1c5397de0bfa16eac7 *** empty log message *** diff -r a746c1098ea6 -r a9b60e014edd src/xterm.h --- 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 \