Update wf_client.c

This commit is contained in:
garbb 2022-08-27 18:26:10 -07:00 committed by akallabeth
parent bb487f045a
commit c5573371c2

View File

@ -115,17 +115,6 @@ static BOOL wf_end_paint(rdpContext* context)
updateRect.top = extents->top;
updateRect.right = extents->right;
updateRect.bottom = extents->bottom;
if (wfc->xScrollVisible)
{
updateRect.left -= MIN(updateRect.left, wfc->xCurrentScroll);
updateRect.right -= MIN(updateRect.right, wfc->xCurrentScroll);
}
if (wfc->yScrollVisible)
{
updateRect.top -= MIN(updateRect.top, wfc->yCurrentScroll);
updateRect.bottom -= MIN(updateRect.bottom, wfc->yCurrentScroll);
}
wf_scale_rect(wfc, &updateRect);