From 5a3154df0878e37d0af8fdd9077133283879b38f Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 14 May 2007 00:28:16 +0000 Subject: add --debug-xinerama --- openbox/openbox.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'openbox/openbox.c') diff --git a/openbox/openbox.c b/openbox/openbox.c index 0f2ba923..1b8aef43 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -90,6 +90,7 @@ gboolean ob_sm_use = TRUE; gchar *ob_sm_id = NULL; gchar *ob_sm_save_file = NULL; gchar *ob_config_type = NULL; +gboolean ob_debug_xinerama = FALSE; static ObState state; static gboolean xsync = FALSE; @@ -474,6 +475,7 @@ static void print_help() g_print(_(" --sync Run in synchronous mode\n")); g_print(_(" --debug Display debugging output\n")); g_print(_(" --debug-focus Display debugging output for focus handling\n")); + g_print(_(" --debug-xinerama Split the display into fake xinerama screens\n")); g_print(_("\nPlease report bugs at %s\n"), PACKAGE_BUGREPORT); } @@ -532,6 +534,9 @@ static void parse_args(gint *argc, gchar **argv) ob_debug_enable(OB_DEBUG_APP_BUGS, TRUE); ob_debug_enable(OB_DEBUG_FOCUS, TRUE); } + else if (!strcmp(argv[i], "--debug-xinerama")) { + ob_debug_xinerama = TRUE; + } else if (!strcmp(argv[i], "--reconfigure")) { remote_control = 1; /* don't make this do anything if it's not in --help .. -- cgit v1.2.3