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;
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);
}
/* unset this so we don't pass it on unknowingly */
unsetenv("DESKTOP_STARTUP_ID");
- if (getenv("OPENBOX_CONFIG_NAMESPACE")) {
+ if (getenv("OPENBOX_CONFIG_NAMESPACE"))
ob_config_type = g_strdup(getenv("OPENBOX_CONFIG_NAMESPACE"));
- /* don't pass it on except if we restart */
- unsetenv("OPENBOX_CONFIG_NAMESPACE");
- }
}
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 ..