start the session shit, and grab the params before grabbing the rest of the parameters (and erroring on invalid ones)
This commit is contained in:
parent
49a73ce15c
commit
988c096389
1 changed files with 2 additions and 2 deletions
|
@ -101,6 +101,8 @@ int main(int argc, char **argv)
|
|||
|
||||
g_set_prgname(argv[0]);
|
||||
|
||||
session_startup(&argc, &argv);
|
||||
|
||||
/* parse out command line args */
|
||||
parse_args(argc, argv);
|
||||
|
||||
|
@ -120,8 +122,6 @@ int main(int argc, char **argv)
|
|||
ob_main_loop_signal_add(ob_main_loop, SIGHUP, signal_handler, NULL, NULL);
|
||||
ob_main_loop_signal_add(ob_main_loop, SIGPIPE, signal_handler, NULL, NULL);
|
||||
|
||||
session_startup(&argc, &argv);
|
||||
|
||||
ob_screen = DefaultScreen(ob_display);
|
||||
|
||||
ob_rr_inst = RrInstanceNew(ob_display, ob_screen);
|
||||
|
|
Loading…
Reference in a new issue