X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fopenbox.c;h=0c758cfdf4bd4c762833522c5c12c89dfb7003ed;hb=bfb0c916718cd6f68ef100841a625b06602f616b;hp=db14afb099731a00aabea13e04d544f9215bfa4b;hpb=e5b94e6072287d39a777a3cedd0f10a66c58a2b5;p=chaz%2Fopenbox diff --git a/openbox/openbox.c b/openbox/openbox.c index db14afb0..0c758cfd 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -35,7 +35,6 @@ #include "focus_cycle_indicator.h" #include "focus_cycle_popup.h" #include "moveresize.h" -#include "composite.h" #include "frame.h" #include "keyboard.h" #include "mouse.h" @@ -130,7 +129,7 @@ gint main(gint argc, gchar **argv) if (chdir(g_get_home_dir()) == -1) g_message(_("Unable to change to home directory '%s': %s"), g_get_home_dir(), g_strerror(errno)); - + /* parse the command line args, which can change the argv[0] */ parse_args(&argc, argv); /* parse the environment variables */ @@ -156,7 +155,7 @@ gint main(gint argc, gchar **argv) prop_startup(); /* Send client message telling the OB process to: - * remote_control = 1 -> reconfigure + * remote_control = 1 -> reconfigure * remote_control = 2 -> restart */ PROP_MSG(RootWindow(ob_display, ob_screen), ob_control, remote_control, 0, 0, 0); @@ -240,10 +239,10 @@ gint main(gint argc, gchar **argv) of the rc */ i = parse_startup(); - /* start up config which sets up with the parser */ - config_startup(i); /* register all the available actions */ actions_startup(reconfigure); + /* start up config which sets up with the parser */ + config_startup(i); /* parse/load user options */ if (parse_load_rc(NULL, &doc, &node)) { @@ -301,7 +300,6 @@ gint main(gint argc, gchar **argv) window_startup(reconfigure); sn_startup(reconfigure); screen_startup(reconfigure); - composite_startup(reconfigure); grab_startup(reconfigure); propwin_startup(reconfigure); group_startup(reconfigure); @@ -367,7 +365,6 @@ gint main(gint argc, gchar **argv) group_shutdown(reconfigure); propwin_shutdown(reconfigure); grab_shutdown(reconfigure); - composite_shutdown(reconfigure); screen_shutdown(reconfigure); focus_cycle_popup_shutdown(reconfigure); focus_cycle_indicator_shutdown(reconfigure); @@ -376,8 +373,8 @@ gint main(gint argc, gchar **argv) sn_shutdown(reconfigure); window_shutdown(reconfigure); event_shutdown(reconfigure); - actions_shutdown(reconfigure); config_shutdown(); + actions_shutdown(reconfigure); modkeys_shutdown(reconfigure); } while (reconfigure); } @@ -446,7 +443,7 @@ gint main(gint argc, gchar **argv) g_free(ob_sm_save_file); g_free(ob_sm_id); g_free(program_name); - + return exitcode; } @@ -459,7 +456,7 @@ static void signal_handler(gint signal, gpointer data) break; case SIGUSR2: ob_debug("Caught signal %d. Reconfiguring.\n", signal); - ob_reconfigure(); + ob_reconfigure(); break; case SIGCHLD: /* reap children */