]> Dogcows Code - chaz/openbox/blobdiff - openbox/focus.c
use ob_debug for any debug printing and only display the output when its a debug...
[chaz/openbox] / openbox / focus.c
index a04e4d401e64a4e6e12c1f6db7cb282447467fc8..dfa9c42dc93ee648157820906d78cc03d8d2b3ab 100644 (file)
@@ -1,3 +1,4 @@
+#include "debug.h"
 #include "event.h"
 #include "openbox.h"
 #include "grab.h"
@@ -64,7 +65,7 @@ void focus_set_client(ObClient *client)
     ObClient *old;
 
 #ifdef DEBUG_FOCUS
-    g_message("focus_set_client 0x%lx", client ? client->window : 0);
+    ob_debug("focus_set_client 0x%lx\n", client ? client->window : 0);
 #endif
 
     /* uninstall the old colormap, and install the new one */
This page took 0.019773 seconds and 4 git commands to generate.