Xext: only free events in case of core motion events.
This commit is contained in:
parent
8cf7755a85
commit
f9bcecbe51
|
@ -500,7 +500,7 @@ ProcXTestFakeInput(client)
|
||||||
xfree(master_event);
|
xfree(master_event);
|
||||||
} else
|
} else
|
||||||
(*dev->public.processInputProc)(ev, dev, nev);
|
(*dev->public.processInputProc)(ev, dev, nev);
|
||||||
if (!extension)
|
if (!extension && type == MotionNotify)
|
||||||
xfree(ev);
|
xfree(ev);
|
||||||
return client->noClientException;
|
return client->noClientException;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user