summaryrefslogtreecommitdiffstats
path: root/xorg/X11R7.6/rdp/rdpPolyFillArc.c
diff options
context:
space:
mode:
authorLaxmikant Rashinkar <LK.Rashinkar@gmail.com>2012-09-22 18:12:40 -0700
committerLaxmikant Rashinkar <LK.Rashinkar@gmail.com>2012-09-22 18:12:40 -0700
commit42a56cd33ed83a399784958ae4e5490ed21b0b7c (patch)
tree7ed89b3d716ae6765f0a7831c34d5ed6e7ff2177 /xorg/X11R7.6/rdp/rdpPolyFillArc.c
parent70d535211bd5708b4547a5e2f8bfaa21b1d66746 (diff)
downloadxrdp-proprietary-42a56cd33ed83a399784958ae4e5490ed21b0b7c.tar.gz
xrdp-proprietary-42a56cd33ed83a399784958ae4e5490ed21b0b7c.zip
o Previous merge had too many issues. Hence all files in .../xorg/X11R7.6/rdp were copied
from master branch and then astyle was run on the files
Diffstat (limited to 'xorg/X11R7.6/rdp/rdpPolyFillArc.c')
-rw-r--r--xorg/X11R7.6/rdp/rdpPolyFillArc.c36
1 files changed, 15 insertions, 21 deletions
diff --git a/xorg/X11R7.6/rdp/rdpPolyFillArc.c b/xorg/X11R7.6/rdp/rdpPolyFillArc.c
index f3fd27ef..3941cb50 100644
--- a/xorg/X11R7.6/rdp/rdpPolyFillArc.c
+++ b/xorg/X11R7.6/rdp/rdpPolyFillArc.c
@@ -148,33 +148,27 @@ rdpPolyFillArc(DrawablePtr pDrawable, GCPtr pGC, int narcs, xArc *parcs)
if (pDstWnd->viewable)
{
post_process = 1;
- rdpup_get_screen_image_rect(&id);
- got_id = 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;
+ }
}
}
}
if (!post_process)
{
- 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;
- }
- }
+ g_free(rects);
+ return;
}
RegionInit(&clip_reg, NullBox, 0);