From f9bcecbe51e4cf0cb2d82ad953f8c6741ed5558b Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 29 May 2008 17:42:49 +0930 Subject: Xext: only free events in case of core motion events. --- Xext/xtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Xext/xtest.c') diff --git a/Xext/xtest.c b/Xext/xtest.c index 58e20ef81..9bd26ba03 100644 --- a/Xext/xtest.c +++ b/Xext/xtest.c @@ -500,7 +500,7 @@ ProcXTestFakeInput(client) xfree(master_event); } else (*dev->public.processInputProc)(ev, dev, nev); - if (!extension) + if (!extension && type == MotionNotify) xfree(ev); return client->noClientException; } -- cgit v1.2.3