-/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
+/* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*-
openbox.c for the Openbox window manager
Copyright (c) 2003 Ben Jansens
textdomain(PACKAGE_NAME);
g_set_prgname(argv[0]);
+
+ chdir(g_get_home_dir());
parse_paths_startup();
if (ob_rr_inst == NULL)
ob_exit_with_error("Failed to initialize the render library.");
- /* XXX fork self onto other screens */
-
XSynchronize(ob_display, xsync);
/* check for locale support */
if (parse_load_rc(&doc, &node))
parse_tree(i, doc, node->xmlChildrenNode);
/* we're done with parsing now, kill it */
- xmlFreeDoc(doc);
+ parse_close(doc);
parse_shutdown(i);
}
if (!reconfigure) {
/* get all the existing windows */
client_manage_all();
+ focus_fallback(OB_FOCUS_FALLBACK_NOFOCUS);
} else {
GList *it;
} while (reconfigure);
}
+ XSync(ob_display, FALSE);
+
RrThemeFree(ob_rr_theme);
RrInstanceFree(ob_rr_inst);