summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-03-03 03:00:05 +0000
committerDana Jansens <danakj@orodu.net>2007-03-03 03:00:05 +0000
commit56c5c7d15f13134dae266d1cca9ed1deb92ea0dc (patch)
treeac14ae10f220e821cd0e38fe61a94ce1d4d0b23f
parent8343a8192f9e024c26a3f9ce292cc1a9dfaa64b8 (diff)
why aren't these variables getting initialized. how exactly is openbox not being super strange without that..?
-rw-r--r--openbox/openbox.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c
index 7e8fadc2..7d2efd6e 100644
--- a/openbox/openbox.c
+++ b/openbox/openbox.c
@@ -76,16 +76,17 @@ RrTheme *ob_rr_theme;
ObMainLoop *ob_main_loop;
Display *ob_display;
gint ob_screen;
-gboolean ob_replace_wm;
+gboolean ob_replace_wm = FALSE;
static ObState state;
-static gboolean xsync;
-static gboolean reconfigure;
-static gboolean restart;
-static gchar *restart_path;
+static gboolean xsync = FALSE;
+static gboolean reconfigure = FALSE;
+static gboolean restart = FALSE;
+static gchar *restart_path = NULL;
static Cursor cursors[OB_NUM_CURSORS];
static KeyCode keys[OB_NUM_KEYS];
static gint exitcode = 0;
+static gboolean reconfigure_and_exit = FALSE;
static void signal_handler(gint signal, gpointer data);
static void parse_args(gint argc, gchar **argv);