]> Dogcows Code - chaz/openbox/commitdiff
if openbox isn't running, show messages on the console rather than just losing them...
authorDana Jansens <danakj@orodu.net>
Thu, 14 Jan 2010 21:53:32 +0000 (16:53 -0500)
committerDana Jansens <danakj@orodu.net>
Thu, 14 Jan 2010 21:53:32 +0000 (16:53 -0500)
openbox/debug.c

index c1180c33c79b07f62a704d928a964df55fce506e..8423e8ab565bb079d9a0f00cdc44cf5dc81f67ad 100644 (file)
@@ -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,
This page took 0.022178 seconds and 4 git commands to generate.