diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-05-29 17:42:49 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-05-29 18:14:54 +0930 |
commit | f9bcecbe51e4cf0cb2d82ad953f8c6741ed5558b (patch) | |
tree | 910907f6f8c98c6433d913a84a1c91eeee44c1d6 /Xext/xtest.c | |
parent | 8cf7755a85f5c1e5da7805c12b7511581a368782 (diff) |
Xext: only free events in case of core motion events.
Diffstat (limited to 'Xext/xtest.c')
-rw-r--r-- | Xext/xtest.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |