/[rdesktop]/jpeg/rdesktop/trunk/xwin.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /jpeg/rdesktop/trunk/xwin.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1302 by ossman_, Thu Oct 26 09:47:17 2006 UTC revision 1306 by astrand, Fri Oct 27 12:59:38 2006 UTC
# Line 3192  ui_desktop_save(uint32 offset, int x, in Line 3192  ui_desktop_save(uint32 offset, int x, in
3192          if (g_ownbackstore)          if (g_ownbackstore)
3193          {          {
3194                  image = XGetImage(g_display, g_backstore, x, y, cx, cy, AllPlanes, ZPixmap);                  image = XGetImage(g_display, g_backstore, x, y, cx, cy, AllPlanes, ZPixmap);
3195                    exit_if_null(image);
3196          }          }
3197          else          else
3198          {          {
3199                  pix = XCreatePixmap(g_display, g_wnd, cx, cy, g_depth);                  pix = XCreatePixmap(g_display, g_wnd, cx, cy, g_depth);
3200                  XCopyArea(g_display, g_wnd, pix, g_gc, x, y, cx, cy, 0, 0);                  XCopyArea(g_display, g_wnd, pix, g_gc, x, y, cx, cy, 0, 0);
3201                  image = XGetImage(g_display, pix, 0, 0, cx, cy, AllPlanes, ZPixmap);                  image = XGetImage(g_display, pix, 0, 0, cx, cy, AllPlanes, ZPixmap);
3202                    exit_if_null(image);
3203                  XFreePixmap(g_display, pix);                  XFreePixmap(g_display, pix);
3204          }          }
3205    

Legend:
Removed from v.1302  
changed lines
  Added in v.1306

  ViewVC Help
Powered by ViewVC 1.1.26