disp: improve window resizing
authorDavid Fort <contact@hardening-consulting.com>
Tue, 19 Dec 2017 14:16:14 +0000 (15:16 +0100)
committerDavid Fort <contact@hardening-consulting.com>
Tue, 19 Dec 2017 19:59:10 +0000 (20:59 +0100)
commitce89a9096e4450b79e835f24d0d0d73d7e3206cf
tree97c8c3b7487f4d55d7f93cc210ea42c17e5f81aa
parent2a6c9e1b8742306097c9940ba3f7d3b18efbcfb7
disp: improve window resizing

To workaround a bug with 2012r2 servers, don't send any resize during renegociation
and don't resize at a too high rate (every 200ms is good enough).
client/X11/xf_client.c
client/X11/xf_disp.c
client/X11/xf_disp.h
client/X11/xf_event.c