diff options
author | Laxmikant Rashinkar <LK.Rashinkar@gmail.com> | 2012-09-22 18:12:40 -0700 |
---|---|---|
committer | Laxmikant Rashinkar <LK.Rashinkar@gmail.com> | 2012-09-22 18:12:40 -0700 |
commit | 42a56cd33ed83a399784958ae4e5490ed21b0b7c (patch) | |
tree | 7ed89b3d716ae6765f0a7831c34d5ed6e7ff2177 /xorg/X11R7.6/rdp/rdpCopyPlane.c | |
parent | 70d535211bd5708b4547a5e2f8bfaa21b1d66746 (diff) | |
download | xrdp-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/rdpCopyPlane.c')
-rw-r--r-- | xorg/X11R7.6/rdp/rdpCopyPlane.c | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/xorg/X11R7.6/rdp/rdpCopyPlane.c b/xorg/X11R7.6/rdp/rdpCopyPlane.c index 6c871720..42e3f4f8 100644 --- a/xorg/X11R7.6/rdp/rdpCopyPlane.c +++ b/xorg/X11R7.6/rdp/rdpCopyPlane.c @@ -127,23 +127,26 @@ rdpCopyPlane(DrawablePtr pSrc, DrawablePtr pDst, } else { - pDstWnd = (WindowPtr)pDst; - - if (pDstWnd->viewable) + if (pDst->type == DRAWABLE_WINDOW) { - post_process = 1; + pDstWnd = (WindowPtr)pDst; - if (g_do_dirty_ons) + if (pDstWnd->viewable) { - LLOGLN(0, ("rdpCopyPlane: gettig dirty")); - g_screenPriv.is_dirty = 1; - pDirtyPriv = &g_screenPriv; - dirty_type = RDI_IMGLL; - } - else - { - rdpup_get_screen_image_rect(&id); - got_id = 1; + post_process = 1; + + if (g_do_dirty_ons) + { + LLOGLN(0, ("rdpCopyPlane: gettig dirty")); + g_screenPriv.is_dirty = 1; + pDirtyPriv = &g_screenPriv; + dirty_type = RDI_IMGLL; + } + else + { + rdpup_get_screen_image_rect(&id); + got_id = 1; + } } } } |