summaryrefslogtreecommitdiff
path: root/openbox/openbox.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-14 00:28:16 +0000
committerDana Jansens <danakj@orodu.net>2007-05-14 00:28:16 +0000
commit5a3154df0878e37d0af8fdd9077133283879b38f (patch)
tree32e115d535b8ee538e62255d242faa03c568d10b /openbox/openbox.c
parent1eff22b1ef7a3fb81e2c8dc6c48b1ef3dd8bdaab (diff)
add --debug-xinerama
Diffstat (limited to 'openbox/openbox.c')
-rw-r--r--openbox/openbox.c5
1 files changed, 5 insertions, 0 deletions
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 ..