/[rdesktop]/sourceforge.net/trunk/rdesktop/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 /sourceforge.net/trunk/rdesktop/xwin.c

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

revision 690 by jsorg71, Fri Apr 30 19:14:15 2004 UTC revision 691 by astrand, Thu May 6 08:17:47 2004 UTC
# Line 45  static Screen *g_screen; Line 45  static Screen *g_screen;
45  Window g_wnd;  Window g_wnd;
46  extern uint32 g_embed_wnd;  extern uint32 g_embed_wnd;
47  BOOL g_enable_compose = False;  BOOL g_enable_compose = False;
48  BOOL g_Unobscured; /* used for screenblt */  BOOL g_Unobscured;              /* used for screenblt */
49  static GC g_gc = NULL;  static GC g_gc = NULL;
50  static Visual *g_visual;  static Visual *g_visual;
51  static int g_depth;  static int g_depth;
# Line 252  translate8to16(uint8 * data, uint8 * out Line 252  translate8to16(uint8 * data, uint8 * out
252          uint16 value;          uint16 value;
253    
254          if (g_arch_match)          if (g_arch_match)
255                  REPEAT(*(((uint16*)out)++) = g_colmap[*(data++)];)                  REPEAT(*(((uint16 *) out)++) = g_colmap[*(data++)];
256                    )
257          else if (g_xserver_be)          else if (g_xserver_be)
258          {          {
259                  while (out < end)                  while (out < end)
# Line 307  translate8to32(uint8 * data, uint8 * out Line 308  translate8to32(uint8 * data, uint8 * out
308          uint32 value;          uint32 value;
309    
310          if (g_arch_match)          if (g_arch_match)
311                  REPEAT(*(((uint32*)out)++) = g_colmap[*(data++)];)                  REPEAT(*(((uint32 *) out)++) = g_colmap[*(data++)];
312                    )
313          else if (g_xserver_be)          else if (g_xserver_be)
314          {          {
315                  while (out < end)                  while (out < end)
# Line 1857  ui_screenblt(uint8 opcode, Line 1859  ui_screenblt(uint8 opcode,
1859                  if (g_Unobscured)                  if (g_Unobscured)
1860                  {                  {
1861                          XCopyArea(g_display, g_wnd, g_wnd, g_gc, srcx, srcy, cx, cy, x, y);                          XCopyArea(g_display, g_wnd, g_wnd, g_gc, srcx, srcy, cx, cy, x, y);
1862                          XCopyArea(g_display, g_backstore, g_backstore, g_gc, srcx, srcy, cx, cy, x, y);                          XCopyArea(g_display, g_backstore, g_backstore, g_gc, srcx, srcy, cx, cy, x,
1863                                      y);
1864                  }                  }
1865                  else                  else
1866                  {                  {
1867                          XCopyArea(g_display, g_backstore, g_wnd, g_gc, srcx, srcy, cx, cy, x, y);                          XCopyArea(g_display, g_backstore, g_wnd, g_gc, srcx, srcy, cx, cy, x, y);
1868                          XCopyArea(g_display, g_backstore, g_backstore, g_gc, srcx, srcy, cx, cy, x, y);                          XCopyArea(g_display, g_backstore, g_backstore, g_gc, srcx, srcy, cx, cy, x,
1869                                      y);
1870                  }                  }
1871          }          }
1872          else          else

Legend:
Removed from v.690  
changed lines
  Added in v.691

  ViewVC Help
Powered by ViewVC 1.1.26