diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-05-24 21:47:06 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-05-24 21:47:06 +0000 |
| commit | d1e355de2c6aae38cea3cdc0e0b902ea2b194e86 (patch) | |
| tree | dcb99d7232895e2b54ed58fbaa7d3a775da9ccfc /openbox/openbox.c | |
| parent | 927f99e4125743bbecf41b1aa7dbce9587fb6156 (diff) | |
this is a big one! im putting stats in here just cuz!
59 files changed, 1691 insertions(+), 607 deletions(-)
Adding the beginings of ObConf. Adding a resistance-config plugin for ObConf.
Creating an obparser library that obrender can use, the kernel can use, plugins can use, and ObConf and its plugins can use. (its just code for using libXml2)
Diffstat (limited to 'openbox/openbox.c')
| -rw-r--r-- | openbox/openbox.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c index 2b4dddce..0455e88c 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -12,13 +12,13 @@ #include "moveresize.h" #include "frame.h" #include "extensions.h" -#include "parse.h" #include "grab.h" #include "plugin.h" #include "timer.h" #include "group.h" #include "config.h" #include "gettext.h" +#include "parser/parse.h" #include "render/render.h" #include "render/font.h" #include "render/theme.h" @@ -66,6 +66,8 @@ int main(int argc, char **argv) sigset_t sigset; char *path; char *theme; + xmlDocPtr doc; + xmlNodePtr node; ob_state = State_Starting; @@ -180,7 +182,8 @@ int main(int argc, char **argv) /* set up the kernel config shit */ config_startup(); /* parse/load user options */ - parse_config(); + if (parse_load_rc(&doc, &node)) + parse_tree(doc, node->xmlChildrenNode, NULL); /* we're done with parsing now, kill it */ parse_shutdown(); |
