]> Dogcows Code - chaz/openbox/blobdiff - openbox/openbox.c
more updates to current status
[chaz/openbox] / openbox / openbox.c
index 6645f5bbf8bf9e2d899fbe8f51675a42d6bb9e67..117349f23972910cb05c2f7d3844deb0e94473e2 100644 (file)
@@ -11,7 +11,6 @@
 #include "config.h"
 #include "grab.h"
 #include "engine.h"
-#include "themerc.h"
 #include "plugin.h"
 #include "timer.h"
 #include "../render/render.h"
@@ -50,7 +49,7 @@ State    ob_state;
 gboolean ob_shutdown = FALSE;
 gboolean ob_restart  = FALSE;
 char    *ob_restart_path = NULL;
-gboolean ob_remote   = FALSE;
+gboolean ob_remote   = TRUE;
 gboolean ob_sync     = FALSE;
 Cursors  ob_cursors;
 char    *ob_rc_path  = NULL;
@@ -99,6 +98,11 @@ 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);
+    /* create the ~/.openbox/themes dir */
+    path = g_build_filename(g_get_home_dir(), ".openbox", "themes", NULL);
+    mkdir(path, (S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IWGRP | S_IXGRP |
+                 S_IROTH | S_IWOTH | S_IXOTH));
+    g_free(path);
      
     /* parse out command line args */
     parse_args(argc, argv);
@@ -181,7 +185,6 @@ int main(int argc, char **argv)
        screen_shutdown();
        event_shutdown();
        engine_shutdown();
-       themerc_shutdown();
        render_shutdown();
         config_shutdown();
        timer_shutdown();
This page took 0.021757 seconds and 4 git commands to generate.