]> Dogcows Code - chaz/openbox/commitdiff
start the session shit, and grab the params before grabbing the rest of the parameter...
authorDana Jansens <danakj@orodu.net>
Fri, 12 Sep 2003 01:31:41 +0000 (01:31 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 12 Sep 2003 01:31:41 +0000 (01:31 +0000)
openbox/openbox.c

index e1467845532ededa957f565cfcce742ccc0f7b2c..d8eae91a515cb1bd517446cf5c49feed41ad7346 100644 (file)
@@ -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);
This page took 0.02753 seconds and 4 git commands to generate.