diff options
author | Laxmikant Rashinkar <LK.Rashinkar@gmail.com> | 2013-09-03 19:44:41 -0700 |
---|---|---|
committer | Laxmikant Rashinkar <LK.Rashinkar@gmail.com> | 2013-09-03 19:44:41 -0700 |
commit | 1a6483f0abe666ef68c040f7c03fd3cf2c2d138f (patch) | |
tree | 0351ee4d7b0814af641e982d43dc19428352b0d0 /xorg/X11R7.6/rdp/rdpSetSpans.c | |
parent | ece8f1fb47c584a63160fc2a339ebc015185f878 (diff) | |
parent | dde6192b6ebc9a4b1fb8124b2d4c9330179650ad (diff) | |
download | xrdp-proprietary-1a6483f0abe666ef68c040f7c03fd3cf2c2d138f.tar.gz xrdp-proprietary-1a6483f0abe666ef68c040f7c03fd3cf2c2d138f.zip |
Merge branch 'master' of github.com:neutrinolabs/xrdp
Diffstat (limited to 'xorg/X11R7.6/rdp/rdpSetSpans.c')
-rw-r--r-- | xorg/X11R7.6/rdp/rdpSetSpans.c | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/xorg/X11R7.6/rdp/rdpSetSpans.c b/xorg/X11R7.6/rdp/rdpSetSpans.c index 2b650e94..62dd8c5c 100644 --- a/xorg/X11R7.6/rdp/rdpSetSpans.c +++ b/xorg/X11R7.6/rdp/rdpSetSpans.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 */ @@ -95,7 +97,7 @@ rdpSetSpans(DrawablePtr pDrawable, GCPtr pGC, char *psrc, if (g_do_dirty_os) { - LLOGLN(10, ("rdpSetSpans: gettig dirty")); + LLOGLN(10, ("rdpSetSpans: getting dirty")); pDstPriv->is_dirty = 1; pDirtyPriv = pDstPriv; dirty_type = RDI_IMGLY; @@ -118,8 +120,18 @@ rdpSetSpans(DrawablePtr pDrawable, GCPtr pGC, char *psrc, if (pDstWnd->viewable) { post_process = 1; - rdpup_get_screen_image_rect(&id); - got_id = 1; + if (g_do_dirty_ons) + { + LLOGLN(10, ("rdpSetSpans: getting dirty")); + g_screenPriv.is_dirty = 1; + pDirtyPriv = &g_screenPriv; + dirty_type = RDI_IMGLL; + } + else + { + rdpup_get_screen_image_rect(&id); + got_id = 1; + } } } } |