added an option (GLUT_SKIP_STALE_MOTION_EVENTS) to ignore all but the last
[freeglut] / src / fg_internal.h
index 7e0f30c..2119d1a 100644 (file)
@@ -314,6 +314,8 @@ struct tagSFG_State
     int              AuxiliaryBufferNumber;  /* Number of auxiliary buffers */
     int              SampleNumber;         /*  Number of samples per pixel  */
 
+    GLboolean        SkipStaleMotion;      /* skip stale motion events */
+
     int              MajorVersion;         /* Major OpenGL context version  */
     int              MinorVersion;         /* Minor OpenGL context version  */
     int              ContextFlags;         /* OpenGL context flags          */