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

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

revision 259 by astrand, Mon Nov 18 15:30:12 2002 UTC revision 262 by astrand, Mon Nov 18 15:37:20 2002 UTC
# Line 55  BOOL encryption = True; Line 55  BOOL encryption = True;
55  BOOL desktop_save = True;  BOOL desktop_save = True;
56  BOOL fullscreen = False;  BOOL fullscreen = False;
57  BOOL grab_keyboard = True;  BOOL grab_keyboard = True;
58    BOOL hide_decorations = False;
59    
60  /* Display usage information */  /* Display usage information */
61  static void  static void
# Line 79  usage(char *program) Line 80  usage(char *program)
80          fprintf(stderr, "   -m: do not send motion events\n");          fprintf(stderr, "   -m: do not send motion events\n");
81          fprintf(stderr, "   -K: keep window manager key bindings\n");          fprintf(stderr, "   -K: keep window manager key bindings\n");
82          fprintf(stderr, "   -T: window title\n");          fprintf(stderr, "   -T: window title\n");
83            fprintf(stderr, "   -D: hide window manager decorations\n");
84  }  }
85    
86  static BOOL  static BOOL
# Line 138  main(int argc, char *argv[]) Line 140  main(int argc, char *argv[])
140          domain[0] = password[0] = shell[0] = directory[0] = 0;          domain[0] = password[0] = shell[0] = directory[0] = 0;
141          strcpy(keymapname, "en-us");          strcpy(keymapname, "en-us");
142    
143          while ((c = getopt(argc, argv, "u:d:s:c:p:n:k:g:fbemKT:h?")) != -1)          while ((c = getopt(argc, argv, "u:d:s:c:p:n:k:g:fbemKT:Dh?")) != -1)
144          {          {
145                  switch (c)                  switch (c)
146                  {                  {
# Line 218  main(int argc, char *argv[]) Line 220  main(int argc, char *argv[])
220                                  STRNCPY(title, optarg, sizeof(title));                                  STRNCPY(title, optarg, sizeof(title));
221                                  break;                                  break;
222    
223                            case 'D':
224                                    hide_decorations = True;
225                                    break;
226    
227                          case 'h':                          case 'h':
228                          case '?':                          case '?':
229                          default:                          default:

Legend:
Removed from v.259  
changed lines
  Added in v.262

  ViewVC Help
Powered by ViewVC 1.1.26