if openbox isn't running, show messages on the console rather than just losing them (like when another WM is running)

This commit is contained in:
Dana Jansens 2010-01-14 16:53:32 -05:00
parent 3bd4397b6e
commit ae85462f2b

View file

@ -136,6 +136,8 @@ static void prompt_handler(const gchar *log_domain, GLogLevelFlags log_level,
{ {
if (ob_state() == OB_STATE_RUNNING) if (ob_state() == OB_STATE_RUNNING)
prompt_show_message(message, _("Openbox"), _("Close")); prompt_show_message(message, _("Openbox"), _("Close"));
else
log_handler(log_domain, log_level, message, data);
} }
static inline void log_argv(ObDebugType type, static inline void log_argv(ObDebugType type,