summaryrefslogtreecommitdiff
path: root/openbox/openbox.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-04-08 07:31:26 +0000
committerDana Jansens <danakj@orodu.net>2003-04-08 07:31:26 +0000
commit71badb0790c8595a0ab6dedfbf8027c698369210 (patch)
tree2985012f6a12b5b0157541885d663c141b5bb0c7 /openbox/openbox.c
parent672f1de2812adc49170414d7abbb2df7db69f34c (diff)
move config option loading for the kernel into config.c/h
add options for the number of desktops and the names of the desktops
Diffstat (limited to 'openbox/openbox.c')
-rw-r--r--openbox/openbox.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c
index 74f8164c..c4784aff 100644
--- a/openbox/openbox.c
+++ b/openbox/openbox.c
@@ -13,6 +13,7 @@
#include "plugin.h"
#include "timer.h"
#include "group.h"
+#include "config.h"
#include "gettext.h"
#include "../render/render.h"
#include "../render/font.h"
@@ -159,11 +160,12 @@ int main(int argc, char **argv)
event_startup();
grab_startup();
engine_startup();
- focus_startup();
plugin_startup();
/* load the plugins specified in the pluginrc */
plugin_loadall();
+ /* set up the kernel config shit */
+ config_startup();
/* parse/load user options */
parse_rc();
/* we're done with parsing now, kill it */
@@ -172,6 +174,7 @@ int main(int argc, char **argv)
/* load the engine specified in the rc */
engine_load();
+ focus_startup();
screen_startup();
group_startup();
client_startup();
@@ -199,6 +202,7 @@ int main(int argc, char **argv)
event_shutdown();
render_shutdown();
timer_shutdown();
+ config_shutdown();
}
dispatch_shutdown();