/[oroborus]/oroborus/src/oroborus.c
ViewVC logotype

Diff of /oroborus/src/oroborus.c

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

revision 1.17 by dreamind, Mon Jan 20 09:43:38 2003 UTC revision 1.18 by dreamind, Fri Jan 31 06:18:34 2003 UTC
# Line 108  lightweight themeable window manager for Line 108  lightweight themeable window manager for
108                                                  "  -v, --verbose              print more information\n"                                                  "  -v, --verbose              print more information\n"
109                                                  "  -h, --help                 display this help and exit\n"                                                  "  -h, --help                 display this help and exit\n"
110                                                  "  -V, --version              output version information and exit\n"                                                  "  -V, --version              output version information and exit\n"
111                                                  "  --display=DISPLAY          use an alternative display instead of,\n"                                                  "  -d, --display=DISPLAY      use an alternative display instead of,\n"
112                                                  "                             $DISPLAY\n"));                                                  "                             $DISPLAY\n"
113                                                    "  --sm-client-id             use the specified session management id.\n"));
114          exit (status);          exit (status);
115  }  }
116    
# Line 136  decode_switches (int argc, char **argv) Line 137  decode_switches (int argc, char **argv)
137                                  case 'r':                                                       /* --file */                                  case 'r':                                                       /* --file */
138                                          rcfile = optarg;                                          rcfile = optarg;
139                                          break;                                          break;
140                                    case 130:                                                       /* --file */
141                                            sm_client_id = optarg;
142                                            break;
143                                  case 'V':                                  case 'V':
144                                          printf ("%s %s\n", PACKAGE, VERSION);                                          printf ("%s %s\n", PACKAGE, VERSION);
145                                          exit (0);                                          exit (0);
# Line 184  initialize (int argc, char **argv) Line 188  initialize (int argc, char **argv)
188                          exit (1);                          exit (1);
189                  }                  }
190    
191            session_init (argv[0], sm_client_id);
192          act.sa_handler = handleSignal;          act.sa_handler = handleSignal;
193          act.sa_flags = 0;          act.sa_flags = 0;
194          if (sigaction (SIGINT, &act, NULL))          if (sigaction (SIGINT, &act, NULL))

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26