]> Dogcows Code - chaz/openbox/blobdiff - openbox/openbox.c
move config option loading for the kernel into config.c/h
[chaz/openbox] / openbox / openbox.c
index 74f8164c840a0f39ef811dcba6d2a9feee84ee8e..c4784aff5ef96dab4a887c173998e51fbf5cffa3 100644 (file)
@@ -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();
This page took 0.021545 seconds and 4 git commands to generate.