diff options
| author | Dana Jansens <danakj@orodu.net> | 2010-01-14 16:53:32 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2010-01-14 16:53:32 -0500 |
| commit | ae85462f2bf0812755a29ea17080b14f681acaf4 (patch) | |
| tree | 81375c7c7038438cb18da1f66bffe527b26f276c /openbox | |
| parent | 3bd4397b6ec5212bfe53a36892746962dc45dbeb (diff) | |
if openbox isn't running, show messages on the console rather than just losing them (like when another WM is running)
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/debug.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbox/debug.c b/openbox/debug.c index c1180c33..8423e8ab 100644 --- a/openbox/debug.c +++ b/openbox/debug.c @@ -136,6 +136,8 @@ static void prompt_handler(const gchar *log_domain, GLogLevelFlags log_level, { if (ob_state() == OB_STATE_RUNNING) prompt_show_message(message, _("Openbox"), _("Close")); + else + log_handler(log_domain, log_level, message, data); } static inline void log_argv(ObDebugType type, |
