From 56c5c7d15f13134dae266d1cca9ed1deb92ea0dc Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 3 Mar 2007 03:00:05 +0000 Subject: [PATCH] why aren't these variables getting initialized. how exactly is openbox not being super strange without that..? --- openbox/openbox.c | 11 ++++++----- 1 file 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); -- 2.44.0