]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
document why we don't block synthetic MotionNotify
authorRudolf Polzer <divverent@alientrap.org>
Tue, 5 Jun 2012 07:13:20 +0000 (09:13 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 5 Jun 2012 07:13:20 +0000 (09:13 +0200)
vid_glx.c

index 14723bcef2aae36bb5b2a10ef5b6dab1e87cecd9..fc9f003801f09aac02eb2596ff290de28500a257 100644 (file)
--- a/vid_glx.c
+++ b/vid_glx.c
@@ -590,6 +590,9 @@ static void HandleEvents(void)
 #ifdef ANTICHEAT
                if(event.xany.send_event && event.type != MotionNotify)
                        continue;
+               // note: synthetic MotionNotify already only change
+               // in_windowmouse_x/y, which are not gameplay but just GUI
+               // relevant
 #endif
 
                switch (event.type)