fixed hdc initialization into wf_begin_paint so the region invalidation into wf_end_p...
authorcedrozor <cedrozor@gmail.com>
Fri, 27 Oct 2017 12:30:00 +0000 (14:30 +0200)
committercedrozor <cedrozor@gmail.com>
Fri, 27 Oct 2017 12:30:00 +0000 (14:30 +0200)
commitb4b9ed6ce6ab75036472a4342431230b26b39267
treede3597a49fc4f3e8137b503393a004db5ee356ad
parent510bf8219e45e0bc294c6ba1581d00b2dd76883a
fixed hdc initialization into wf_begin_paint so the region invalidation into wf_end_paint applies to the same hdc
the objective is that only the updated region(s) are refreshed instead of the whole screen
it's not much a problem for normal FreeRDP usage but becomes a serious issue if the display is processed, forwarded and rendered remotely, as done by web gateways such as Guacamole, FreeRDP-WebConnect and Myrtille (I'm the author of the latter)
client/Windows/wf_client.c