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:
parent
3bd4397b6e
commit
ae85462f2b
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue