diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-03-03 03:42:28 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-03-03 03:42:28 +0000 |
| commit | 48a7c32512db4358dc7c2928174bccc203d30e69 (patch) | |
| tree | 6774f1fea98ca7d78fa7e697ea9efa5e2ee0fd1b /openbox/session.h | |
| parent | b8bcc451435d8355624aa8a48d56740bac59c609 (diff) | |
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.
Diffstat (limited to 'openbox/session.h')
| -rw-r--r-- | openbox/session.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
