xfreerdp-client: filter duplicate events