From: Rudolf Polzer Date: Mon, 4 Jun 2012 08:56:22 +0000 (+0200) Subject: GLX: ignore XSendEvent X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=987d91935e81d9169f2380ea25be1cf8fea30d69;p=xonotic%2Fdarkplaces.git GLX: ignore XSendEvent --- diff --git a/vid_glx.c b/vid_glx.c index b14bd137..7d9b6050 100644 --- a/vid_glx.c +++ b/vid_glx.c @@ -587,6 +587,11 @@ static void HandleEvents(void) { XNextEvent(vidx11_display, &event); +#ifdef ANTICHEAT + if(event.xany.send_event) + continue; +#endif + switch (event.type) { case KeyPress: