From 13c25b5d7303cb3171d7aa034c6f504a54b5d0d5 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Tue, 5 Jun 2012 09:13:20 +0200 Subject: [PATCH] document why we don't block synthetic MotionNotify --- vid_glx.c | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.39.2