summaryrefslogtreecommitdiffstats
path: root/xorg/X11R7.6/rdp/rdpPolyPoint.c
diff options
context:
space:
mode:
authorLawrenceK <github@lklyne.co.uk>2012-10-18 10:45:35 +0100
committerLawrenceK <github@lklyne.co.uk>2012-10-18 10:45:35 +0100
commit9530caa4ffec46bdc7d24c873272d2ba4e85e32b (patch)
treeb4d17c4f1fe0f50ce6d56f4b69e4a901f79136a2 /xorg/X11R7.6/rdp/rdpPolyPoint.c
parent69389e4a63e955151c14110f54bf6c8aa9496f33 (diff)
parent6504737b11ae763f9aa06fa55856440b1c86ef44 (diff)
downloadxrdp-proprietary-9530caa4ffec46bdc7d24c873272d2ba4e85e32b.tar.gz
xrdp-proprietary-9530caa4ffec46bdc7d24c873272d2ba4e85e32b.zip
Merge branch 'master' of git://github.com/FreeRDP/xrdp
Diffstat (limited to 'xorg/X11R7.6/rdp/rdpPolyPoint.c')
-rw-r--r--xorg/X11R7.6/rdp/rdpPolyPoint.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/xorg/X11R7.6/rdp/rdpPolyPoint.c b/xorg/X11R7.6/rdp/rdpPolyPoint.c
index cbbc4a98..48a993a0 100644
--- a/xorg/X11R7.6/rdp/rdpPolyPoint.c
+++ b/xorg/X11R7.6/rdp/rdpPolyPoint.c
@@ -38,6 +38,8 @@ extern int g_Bpp; /* from rdpmain.c */
extern ScreenPtr g_pScreen; /* from rdpmain.c */
extern Bool g_wrapPixmap; /* from rdpmain.c */
extern int g_do_dirty_os; /* in rdpmain.c */
+extern int g_do_dirty_ons; /* in rdpmain.c */
+extern rdpPixmapRec g_screenPriv; /* in rdpmain.c */
extern GCOps g_rdpGCOps; /* from rdpdraw.c */
@@ -167,8 +169,18 @@ rdpPolyPoint(DrawablePtr pDrawable, GCPtr pGC, int mode,
if (pDstWnd->viewable)
{
post_process = 1;
- rdpup_get_screen_image_rect(&id);
- got_id = 1;
+ if (g_do_dirty_ons)
+ {
+ LLOGLN(0, ("rdpPolyPoint: gettig dirty"));
+ g_screenPriv.is_dirty = 1;
+ pDirtyPriv = &g_screenPriv;
+ dirty_type = RDI_IMGLL;
+ }
+ else
+ {
+ rdpup_get_screen_image_rect(&id);
+ got_id = 1;
+ }
}
}
}