the pointer leaves the window.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3272
d7cf8633-e32d-0410-b094-
e92efae38249
#define KEY_MASK (KeyPressMask | KeyReleaseMask)
#define MOUSE_MASK (ButtonPressMask | ButtonReleaseMask | \
- PointerMotionMask | ButtonMotionMask )
-#define X_MASK (KEY_MASK | MOUSE_MASK | VisibilityChangeMask | StructureNotifyMask )
+ PointerMotionMask | ButtonMotionMask)
+#define X_MASK (KEY_MASK | MOUSE_MASK | VisibilityChangeMask | \
+ StructureNotifyMask | FocusChangeMask | EnterWindowMask | \
+ LeaveWindowMask)
static qboolean mouse_avail = true;