]> Dogcows Code - chaz/openbox/blobdiff - openbox/debug.c
some changes to ConfigureRequest, based on what I found in FVWM.
[chaz/openbox] / openbox / debug.c
index af22c69f2cf8626fadf31293dcb1bff9a1a4e6af..3a765dc5f1075fc43f8d4d59043639a7fc57647c 100644 (file)
@@ -35,6 +35,7 @@ void ob_debug(const gchar *a, ...)
     va_list vl;
 
     if (show) {
+        fprintf(stderr, "DEBUG: ");
         va_start(vl, a);
         vfprintf(stderr, a, vl);
         va_end(vl);
@@ -56,6 +57,17 @@ void ob_debug_type(ObDebugType type, const gchar *a, ...)
     g_assert(type < OB_DEBUG_TYPE_NUM);
 
     if (show && enabled_types[type]) {
+        switch (type) {
+        case OB_DEBUG_FOCUS:
+            fprintf(stderr, "FOCUS: ");
+            break;
+        case OB_DEBUG_APP_BUGS:
+            fprintf(stderr, "APPLICATION BUG: ");
+            break;
+        default:
+            g_assert_not_reached();
+        }
+
         va_start(vl, a);
         vfprintf(stderr, a, vl);
         va_end(vl);
This page took 0.022246 seconds and 4 git commands to generate.