summaryrefslogtreecommitdiffstats
path: root/xorg/X11R7.6/rdp/rdpup.c
diff options
context:
space:
mode:
authorLaxmikant Rashinkar <LK.Rashinkar@gmail.com>2012-12-26 18:58:31 -0800
committerLaxmikant Rashinkar <LK.Rashinkar@gmail.com>2012-12-26 18:58:31 -0800
commitf3cc2a5154e79afcebed79b9dc85205fdd950043 (patch)
treef4f67a024422401b66c8839f526c9db385d3e001 /xorg/X11R7.6/rdp/rdpup.c
parentcae2adb75e2b339017746436c63f7d2b8c35fb63 (diff)
parentcce4f773d858a2b131a026fa82136743155ad12b (diff)
downloadxrdp-proprietary-f3cc2a5154e79afcebed79b9dc85205fdd950043.tar.gz
xrdp-proprietary-f3cc2a5154e79afcebed79b9dc85205fdd950043.zip
Merge branch 'master' of https://github.com/FreeRDP/xrdp
Diffstat (limited to 'xorg/X11R7.6/rdp/rdpup.c')
-rw-r--r--xorg/X11R7.6/rdp/rdpup.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/xorg/X11R7.6/rdp/rdpup.c b/xorg/X11R7.6/rdp/rdpup.c
index 49cc55ee..c2eafe27 100644
--- a/xorg/X11R7.6/rdp/rdpup.c
+++ b/xorg/X11R7.6/rdp/rdpup.c
@@ -137,6 +137,7 @@ rdpup_disconnect(void)
g_sck_closed = 1;
g_pixmap_byte_total = 0;
g_pixmap_num_used = 0;
+ g_rdpindex = -1;
if (g_max_os_bitmaps > 0)
{
@@ -1833,7 +1834,7 @@ rdpup_check_dirty(PixmapPtr pDirtyPixmap, rdpPixmapRec *pDirtyPriv)
rdpup_switch_os_surface(pDirtyPriv->rdpindex);
rdpup_get_pixmap_image_rect(pDirtyPixmap, &id);
rdpup_begin_update();
- draw_item_pack(pDirtyPriv);
+ draw_item_pack(pDirtyPixmap, pDirtyPriv);
di = pDirtyPriv->draw_item_head;
while (di != 0)
@@ -1958,7 +1959,7 @@ rdpup_check_dirty_screen(rdpPixmapRec *pDirtyPriv)
LLOGLN(10, ("-----------------got dirty"));
rdpup_get_screen_image_rect(&id);
rdpup_begin_update();
- draw_item_pack(pDirtyPriv);
+ draw_item_pack(0, pDirtyPriv);
di = pDirtyPriv->draw_item_head;
while (di != 0)