From: Rudolf Polzer Date: Tue, 5 Jun 2012 07:13:20 +0000 (+0200) Subject: document why we don't block synthetic MotionNotify X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=13c25b5d7303cb3171d7aa034c6f504a54b5d0d5;p=xonotic%2Fdarkplaces.git document why we don't block synthetic MotionNotify --- diff --git a/vid_glx.c b/vid_glx.c index 14723bce..fc9f0038 100644 --- 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)