diff options
author | Laxmikant Rashinkar <LK.Rashinkar@gmail.com> | 2012-09-19 21:18:03 -0700 |
---|---|---|
committer | Laxmikant Rashinkar <LK.Rashinkar@gmail.com> | 2012-09-19 21:18:03 -0700 |
commit | 03f47098e4989a37a4099497db8d98bdf692f371 (patch) | |
tree | 7c32a67faa27b4bea968d3f7b23540ee63df8ceb /xorg/X11R7.6/rdp/rdpPolyFillArc.c | |
parent | 1123323fda6d128fb98b0427e0ea5f6a2dc9e632 (diff) | |
parent | 6504737b11ae763f9aa06fa55856440b1c86ef44 (diff) | |
download | xrdp-proprietary-03f47098e4989a37a4099497db8d98bdf692f371.tar.gz xrdp-proprietary-03f47098e4989a37a4099497db8d98bdf692f371.zip |
o fixed merge conflicts
Diffstat (limited to 'xorg/X11R7.6/rdp/rdpPolyFillArc.c')
-rw-r--r-- | xorg/X11R7.6/rdp/rdpPolyFillArc.c | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/xorg/X11R7.6/rdp/rdpPolyFillArc.c b/xorg/X11R7.6/rdp/rdpPolyFillArc.c index 5fd568ad..f3fd27ef 100644 --- a/xorg/X11R7.6/rdp/rdpPolyFillArc.c +++ b/xorg/X11R7.6/rdp/rdpPolyFillArc.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 */ @@ -154,8 +156,25 @@ rdpPolyFillArc(DrawablePtr pDrawable, GCPtr pGC, int narcs, xArc *parcs) if (!post_process) { - g_free(rects); - return; + pDstWnd = (WindowPtr)pDrawable; + + if (pDstWnd->viewable) + { + post_process = 1; + + if (g_do_dirty_ons) + { + LLOGLN(0, ("rdpPolyFillArc: gettig dirty")); + g_screenPriv.is_dirty = 1; + pDirtyPriv = &g_screenPriv; + dirty_type = RDI_IMGLL; + } + else + { + rdpup_get_screen_image_rect(&id); + got_id = 1; + } + } } RegionInit(&clip_reg, NullBox, 0); |