diff --git a/libfreerdp/core/surface.c b/libfreerdp/core/surface.c index 3de41339f..7d0fb229a 100644 --- a/libfreerdp/core/surface.c +++ b/libfreerdp/core/surface.c @@ -58,15 +58,6 @@ static int update_recv_surfcmd_surface_bits(rdpUpdate* update, wStream* s, UINT3 return 0; } -static void update_send_frame_acknowledge(rdpRdp* rdp, UINT32 frameId) -{ - wStream* s; - - s = rdp_data_pdu_init(rdp); - Stream_Write_UINT32(s, frameId); - rdp_send_data_pdu(rdp, s, DATA_PDU_TYPE_FRAME_ACKNOWLEDGE, rdp->mcs->user_id); -} - static int update_recv_surfcmd_frame_marker(rdpUpdate* update, wStream* s, UINT32 *length) { SURFACE_FRAME_MARKER* marker = &update->surface_frame_marker; @@ -79,13 +70,6 @@ static int update_recv_surfcmd_frame_marker(rdpUpdate* update, wStream* s, UINT3 IFCALL(update->SurfaceFrameMarker, update->context, marker); - if (update->context->rdp->settings->ReceivedCapabilities[CAPSET_TYPE_FRAME_ACKNOWLEDGE] && - (update->context->rdp->settings->FrameAcknowledge > 0) && - (marker->frameAction == SURFACECMD_FRAMEACTION_END)) - { - update_send_frame_acknowledge(update->context->rdp, marker->frameId); - } - *length = 6; return 0;