]> Dogcows Code - chaz/openbox/blobdiff - openbox/openbox.c
hardcode the button names for themes
[chaz/openbox] / openbox / openbox.c
index 70b65e40d511eacf060fa4cf851589e62ae8b59c..890e74fc72ac7bbee2078a96db33cf666845f543 100644 (file)
@@ -127,6 +127,8 @@ int main(int argc, char **argv)
     mkdir(path, (S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IWGRP | S_IXGRP |
                  S_IROTH | S_IWOTH | S_IXOTH));
     g_free(path);
+
+    g_set_prgname(argv[0]);
      
     /* parse out command line args */
     parse_args(argc, argv);
@@ -194,12 +196,14 @@ int main(int argc, char **argv)
        timer_startup();
        event_startup();
         grab_startup();
+        window_startup();
         plugin_startup();
         /* load the plugins specified in the pluginrc */
         plugin_loadall();
 
         /* set up the kernel config shit */
         config_startup();
+        menu_startup();
         /* parse/load user options */
         if (parse_load_rc(&doc, &node))
             parse_tree(doc, node->xmlChildrenNode, NULL);
@@ -211,8 +215,6 @@ int main(int argc, char **argv)
         if (ob_rr_theme == NULL)
             exit_with_error("Unable to load a theme.");
 
-        window_startup();
-        menu_startup();
         frame_startup();
         moveresize_startup();
        focus_startup();
This page took 0.021744 seconds and 4 git commands to generate.