]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
we rely on self-sent MotionNotify
authorRudolf Polzer <divverent@alientrap.org>
Tue, 5 Jun 2012 07:10:06 +0000 (09:10 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 5 Jun 2012 07:10:06 +0000 (09:10 +0200)
vid_glx.c

index 7d9b605081e55ad266088b0fcdc3474e9747e1ba..14723bcef2aae36bb5b2a10ef5b6dab1e87cecd9 100644 (file)
--- a/vid_glx.c
+++ b/vid_glx.c
@@ -588,7 +588,7 @@ static void HandleEvents(void)
                XNextEvent(vidx11_display, &event);
 
 #ifdef ANTICHEAT
-               if(event.xany.send_event)
+               if(event.xany.send_event && event.type != MotionNotify)
                        continue;
 #endif