diff options
| author | Jay Sorg <jay.sorg@gmail.com> | 2014-01-25 11:30:45 -0800 |
|---|---|---|
| committer | Jay Sorg <jay.sorg@gmail.com> | 2014-01-25 11:30:45 -0800 |
| commit | 03e5b5e62bae5f872874869e62cc096c576fba16 (patch) | |
| tree | 62aa1ee34ead892e0715f7da1c23ec188b441475 /xorg/server/module/rdpPolyFillRect.c | |
| parent | f39ba98a4ff48a2e6a12cb27027a0b06d139c55a (diff) | |
| download | xrdp-proprietary-03e5b5e62bae5f872874869e62cc096c576fba16.tar.gz xrdp-proprietary-03e5b5e62bae5f872874869e62cc096c576fba16.zip | |
xorg: work on xorg driver
Diffstat (limited to 'xorg/server/module/rdpPolyFillRect.c')
| -rw-r--r-- | xorg/server/module/rdpPolyFillRect.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xorg/server/module/rdpPolyFillRect.c b/xorg/server/module/rdpPolyFillRect.c index e052d508..a3162d31 100644 --- a/xorg/server/module/rdpPolyFillRect.c +++ b/xorg/server/module/rdpPolyFillRect.c @@ -77,10 +77,6 @@ rdpPolyFillRectPost(rdpPtr dev, rdpClientCon *clientCon, { return; } - if (cd == XRDP_CD_CLIP) - { - rdpRegionIntersect(reg, clip_reg, reg); - } rdpClientConAddDirtyScreenReg(dev, clientCon, reg); } @@ -103,6 +99,10 @@ rdpPolyFillRect(DrawablePtr pDrawable, GCPtr pGC, int nrectFill, rdpRegionTranslate(reg, pDrawable->x, pDrawable->y); rdpRegionInit(&clip_reg, NullBox, 0); cd = rdpDrawGetClip(dev, &clip_reg, pDrawable, pGC); + if (cd == XRDP_CD_CLIP) + { + rdpRegionIntersect(reg, &clip_reg, reg); + } LLOGLN(10, ("rdpPolyFillRect: cd %d", cd)); clientCon = dev->clientConHead; while (clientCon != NULL) |
