/[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 565 by stargo, Mon Jan 19 21:58:58 2004 UTC revision 566 by stargo, Mon Jan 19 23:45:26 2004 UTC
# Line 43  static Screen *g_screen; Line 43  static Screen *g_screen;
43  Window g_wnd;  Window g_wnd;
44  BOOL g_enable_compose = False;  BOOL g_enable_compose = False;
45  static GC g_gc;  static GC g_gc;
46    static BOOL g_gc_initialized = False;
47  static Visual *g_visual;  static Visual *g_visual;
48  static int g_depth;  static int g_depth;
49  static int g_bpp;  static int g_bpp;
# Line 887  ui_create_window(void) Line 888  ui_create_window(void)
888                                CWBackPixel | CWBackingStore | CWOverrideRedirect |                                CWBackPixel | CWBackingStore | CWOverrideRedirect |
889                                CWColormap | CWBorderPixel, &attribs);                                CWColormap | CWBorderPixel, &attribs);
890    
891          g_gc = XCreateGC(g_display, g_wnd, 0, NULL);          if ( ! g_gc_initialized )
892            {
893                    g_gc = XCreateGC(g_display, g_wnd, 0, NULL);
894                    g_gc_initialized = True;
895            }
896    
897          if ((g_ownbackstore) && (! g_backstore_initialized))          if ((g_ownbackstore) && (! g_backstore_initialized))
898          {          {

Legend:
Removed from v.565  
changed lines
  Added in v.566

  ViewVC Help
Powered by ViewVC 1.1.26