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

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

revision 296 by matthewc, Tue Jan 28 12:07:55 2003 UTC revision 297 by matthewc, Tue Jan 28 12:27:28 2003 UTC
# Line 128  mwm_hide_decorations(void) Line 128  mwm_hide_decorations(void)
128          hintsatom = XInternAtom(display, "_MOTIF_WM_HINTS", False);          hintsatom = XInternAtom(display, "_MOTIF_WM_HINTS", False);
129          if (!hintsatom)          if (!hintsatom)
130          {          {
131                  error("Failed to get atom _MOTIF_WM_HINTS\n");                  warning("Failed to get atom _MOTIF_WM_HINTS: probably your window manager does not support MWM hints\n");
132                  return;                  return;
133          }          }
134    
# Line 300  ui_init(void) Line 300  ui_init(void)
300          {          {
301                  xcolmap = DefaultColormapOfScreen(screen);                  xcolmap = DefaultColormapOfScreen(screen);
302                  if (depth <= 8)                  if (depth <= 8)
303                  {                          warning("Screen depth is 8 bits or lower: you may want to use -C for a private colourmap\n");
                         printf("You're using a screen depth of 8-bits or lower\n");  
                         printf("If you get scewed colours, try the -C switch\n");  
                 }  
304          }          }
305    
306          gc = XCreateGC(display, RootWindowOfScreen(screen), 0, NULL);          gc = XCreateGC(display, RootWindowOfScreen(screen), 0, NULL);
# Line 322  ui_init(void) Line 319  ui_init(void)
319    
320                  if (get_current_workarea(&xpos, &ypos, &width, &height) < 0)                  if (get_current_workarea(&xpos, &ypos, &width, &height) < 0)
321                  {                  {
322                          error("Failed to get workarea.\n");                          warning("Failed to get workarea: probably your window manager does not support extended hints\n");
                         error("Perhaps your window manager does not support EWMH?\n");  
                         error("Defaulting to geometry 800x600\n");  
323                          width = 800;                          width = 800;
324                          height = 600;                          height = 600;
325                  }                  }

Legend:
Removed from v.296  
changed lines
  Added in v.297

  ViewVC Help
Powered by ViewVC 1.1.26