From c5573371c26ae14a92f805d58258568a894621d5 Mon Sep 17 00:00:00 2001 From: garbb Date: Sat, 27 Aug 2022 18:26:10 -0700 Subject: [PATCH] Update wf_client.c --- client/Windows/wf_client.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/client/Windows/wf_client.c b/client/Windows/wf_client.c index 94caabe80..92aabeac1 100644 --- a/client/Windows/wf_client.c +++ b/client/Windows/wf_client.c @@ -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);