xfreerdp-client: refactored window resize