From 988c09638997c26821f43c19f0bbb161a20e681b Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 12 Sep 2003 01:31:41 +0000 Subject: [PATCH] start the session shit, and grab the params before grabbing the rest of the parameters (and erroring on invalid ones) --- openbox/openbox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openbox/openbox.c b/openbox/openbox.c index e1467845..d8eae91a 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -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); -- 2.45.2