From 48a7c32512db4358dc7c2928174bccc203d30e69 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 3 Mar 2007 03:42:28 +0000 Subject: make a copy of the argc and argv instead of modifying the real ones this means that when openbox is restared it doesn't lose it's SM related command line args, they get passed to the new openbox same as they were passed to the one exiting. --- openbox/session.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/session.h') diff --git a/openbox/session.h b/openbox/session.h index 680f45f0..c3146337 100644 --- a/openbox/session.h +++ b/openbox/session.h @@ -38,7 +38,7 @@ struct _ObSessionState { extern GList *session_saved_state; -void session_startup(gint *argc, gchar ***argv); +void session_startup(gint argc, gchar **argv); void session_shutdown(); GList* session_state_find(struct _ObClient *c); -- cgit v1.2.3