Fix sending/receiving surface bits command.
authorakallabeth <akallabeth@posteo.net>
Thu, 19 Mar 2020 08:04:59 +0000 (09:04 +0100)
committerakallabeth <akallabeth@posteo.net>
Fri, 3 Apr 2020 10:00:53 +0000 (12:00 +0200)
commit88ad9ca56bcd422fb4c9ccfe9aa4378cb0c788ba
treea4c4046b11bb2a65b7027a468db16940c0a72c4d
parent9223eea61e435694d586d8d647ac5e551c1fed41
Fix sending/receiving surface bits command.

* Pass on proper command type to application
* On send let the server implementation decide to send
   2.2.9.2.1 Set Surface Bits Command (TS_SURFCMD_SET_SURF_BITS) or
   2.2.9.2.2 Stream Surface Bits Command (TS_SURFCMD_STREAM_SURF_BITS)
Thanks to @viniciusjarina for tracing the issue down.
include/freerdp/update.h
libfreerdp/core/surface.c
libfreerdp/core/surface.h
server/Sample/sfreerdp.c
server/shadow/shadow_client.c