gchar *ob_sm_save_file = NULL;
gboolean ob_sm_restore = TRUE;
gboolean ob_debug_xinerama = FALSE;
+const gchar *ob_locale_msg = NULL;
static ObState state;
static gboolean xsync = FALSE;
ob_debug_startup();
/* initialize the locale */
+ if (!(ob_locale_msg = setlocale(LC_MESSAGES, "")))
+ g_message("Couldn't set messages locale category from environment.");
if (!setlocale(LC_ALL, ""))
g_message("Couldn't set locale from environment.");
bindtextdomain(PACKAGE_NAME, LOCALEDIR);
extern gboolean ob_replace_wm;
extern gboolean ob_debug_xinerama;
+/*! The current locale for the LC_MESSAGES category */
+extern const gchar *ob_locale_msg;
+
/* The state of execution of the window manager */
ObState ob_state(void);
void ob_set_state(ObState state);