/[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 534 by stargo, Thu Oct 30 00:10:32 2003 UTC revision 536 by matthewc, Fri Oct 31 04:29:57 2003 UTC
# Line 849  ui_deinit(void) Line 849  ui_deinit(void)
849          g_display = NULL;          g_display = NULL;
850  }  }
851    
 #define NULL_POINTER_MASK       "\x80"  
 #define NULL_POINTER_DATA       "\x0\x0\x0"  
   
852  BOOL  BOOL
853  ui_create_window(void)  ui_create_window(void)
854  {  {
855            uint8 null_pointer_mask[1] = { 0x80 };
856            uint8 null_pointer_data[4] = { 0x00, 0x00, 0x00, 0x00 };
857          XSetWindowAttributes attribs;          XSetWindowAttributes attribs;
858          XClassHint *classhints;          XClassHint *classhints;
859          XSizeHints *sizehints;          XSizeHints *sizehints;
# Line 937  ui_create_window(void) Line 936  ui_create_window(void)
936          XSetWMProtocols(g_display, g_wnd, &g_kill_atom, 1);          XSetWMProtocols(g_display, g_wnd, &g_kill_atom, 1);
937    
938          /* create invisible 1x1 cursor to be used as null cursor */          /* create invisible 1x1 cursor to be used as null cursor */
939          g_null_cursor = ui_create_cursor(0, 0, 1, 1, NULL_POINTER_MASK, NULL_POINTER_DATA);          g_null_cursor = ui_create_cursor(0, 0, 1, 1, null_pointer_mask, null_pointer_data);
940    
941          return True;          return True;
942  }  }

Legend:
Removed from v.534  
changed lines
  Added in v.536

  ViewVC Help
Powered by ViewVC 1.1.26