diff options
Diffstat (limited to 'xorg/server/module/rdpPolyFillRect.c')
| -rw-r--r-- | xorg/server/module/rdpPolyFillRect.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/xorg/server/module/rdpPolyFillRect.c b/xorg/server/module/rdpPolyFillRect.c index 3f05896a..434fe504 100644 --- a/xorg/server/module/rdpPolyFillRect.c +++ b/xorg/server/module/rdpPolyFillRect.c @@ -65,18 +65,11 @@ rdpPolyFillRectPost(rdpPtr dev, rdpClientCon *clientCon, int cd, RegionPtr clip_reg, DrawablePtr pDrawable, GCPtr pGC, RegionPtr fill_reg) { - WindowPtr pDstWnd; - if (cd == 0) { return; } - if (pDrawable->type != DRAWABLE_WINDOW) - { - return; - } - pDstWnd = (WindowPtr) pDrawable; - if (pDstWnd->viewable == FALSE) + if (!XRDP_DRAWABLE_IS_VISIBLE(dev, pDrawable)) { return; } |
