/[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 592 by n-ki, Fri Jan 30 14:10:32 2004 UTC revision 603 by stargo, Sat Feb 7 18:47:06 2004 UTC
# Line 23  Line 23 
23  #include <unistd.h>  #include <unistd.h>
24  #include <time.h>  #include <time.h>
25  #include <errno.h>  #include <errno.h>
26    #include <strings.h>
27  #include "rdesktop.h"  #include "rdesktop.h"
28  #include "xproto.h"  #include "xproto.h"
29    
# Line 63  static int g_red_shift_l, g_blue_shift_l Line 64  static int g_red_shift_l, g_blue_shift_l
64    
65  /* software backing store */  /* software backing store */
66  static BOOL g_ownbackstore;  static BOOL g_ownbackstore;
67  static Pixmap g_backstore = NULL;  static Pixmap g_backstore = 0;
68    
69  /* Moving in single app mode */  /* Moving in single app mode */
70  static BOOL g_moving_wnd;  static BOOL g_moving_wnd;
# Line 894  ui_create_window(void) Line 895  ui_create_window(void)
895          if (g_gc == NULL)          if (g_gc == NULL)
896                  g_gc = XCreateGC(g_display, g_wnd, 0, NULL);                  g_gc = XCreateGC(g_display, g_wnd, 0, NULL);
897    
898          if ((g_ownbackstore) && (g_backstore == NULL))          if ((g_ownbackstore) && (g_backstore == 0))
899          {          {
900                  g_backstore = XCreatePixmap(g_display, g_wnd, g_width, g_height, g_depth);                  g_backstore = XCreatePixmap(g_display, g_wnd, g_width, g_height, g_depth);
901    
# Line 1311  ui_select(int rdp_socket) Line 1312  ui_select(int rdp_socket)
1312                                  error("select: %s\n", strerror(errno));                                  error("select: %s\n", strerror(errno));
1313    
1314                          case 0:                          case 0:
1315                                  s_timeout = True;                                  /* TODO: if tv.tv_sec just times out
1316                                  rdpdr_check_fds(&rfds, &wfds, (BOOL) True);                                   * we will segfault.
1317                                     * FIXME:
1318                                     */
1319                                    //s_timeout = True;
1320                                    //rdpdr_check_fds(&rfds, &wfds, (BOOL) True);
1321                                  continue;                                  continue;
1322                  }                  }
1323    

Legend:
Removed from v.592  
changed lines
  Added in v.603

  ViewVC Help
Powered by ViewVC 1.1.26