\n's at the end of strings passed to ob_debg

This commit is contained in:
Dana Jansens 2003-09-06 09:26:32 +00:00
parent 4bec1c07db
commit 09ada49a80

View file

@ -319,7 +319,7 @@ static gboolean event_ignore(XEvent *e, ObClient *client)
break; break;
if (fe.type == FocusOut) { if (fe.type == FocusOut) {
#ifdef DEBUG_FOCUS #ifdef DEBUG_FOCUS
ob_debug("found pending FocusOut"); ob_debug("found pending FocusOut\n");
#endif #endif
if (!INVALID_FOCUSOUT(&fe)) { if (!INVALID_FOCUSOUT(&fe)) {
/* if there is a VALID FocusOut still coming, don't /* if there is a VALID FocusOut still coming, don't
@ -330,7 +330,7 @@ static gboolean event_ignore(XEvent *e, ObClient *client)
} }
} else { } else {
#ifdef DEBUG_FOCUS #ifdef DEBUG_FOCUS
ob_debug("found pending FocusIn"); ob_debug("found pending FocusIn\n");
#endif #endif
/* is the focused window getting a FocusOut/In back to /* is the focused window getting a FocusOut/In back to
itself? itself?
@ -348,7 +348,7 @@ static gboolean event_ignore(XEvent *e, ObClient *client)
if (focus_client) { if (focus_client) {
#ifdef DEBUG_FOCUS #ifdef DEBUG_FOCUS
ob_debug("focused window got an Out/In back to " ob_debug("focused window got an Out/In back to "
"itself IGNORED both"); "itself IGNORED both\n");
#endif #endif
return TRUE; return TRUE;
} else { } else {
@ -356,7 +356,7 @@ static gboolean event_ignore(XEvent *e, ObClient *client)
#ifdef DEBUG_FOCUS #ifdef DEBUG_FOCUS
ob_debug("focused window got an Out/In back to " ob_debug("focused window got an Out/In back to "
"itself but focus_client was null " "itself but focus_client was null "
"IGNORED just the Out"); "IGNORED just the Out\n");
#endif #endif
return TRUE; return TRUE;
} }
@ -376,7 +376,7 @@ static gboolean event_ignore(XEvent *e, ObClient *client)
if (fallback) { if (fallback) {
#ifdef DEBUG_FOCUS #ifdef DEBUG_FOCUS
ob_debug("no valid FocusIn and no FocusOut events found, " ob_debug("no valid FocusIn and no FocusOut events found, "
"falling back"); "falling back\n");
#endif #endif
focus_fallback(OB_FOCUS_FALLBACK_NOFOCUS); focus_fallback(OB_FOCUS_FALLBACK_NOFOCUS);
} }
@ -392,7 +392,7 @@ static gboolean event_ignore(XEvent *e, ObClient *client)
(e->xcrossing.mode == NotifyUngrab && (e->xcrossing.mode == NotifyUngrab &&
e->xcrossing.detail == NotifyVirtual)) { e->xcrossing.detail == NotifyVirtual)) {
#ifdef DEBUG_FOCUS #ifdef DEBUG_FOCUS
ob_debug("%sNotify mode %d detail %d on %lx IGNORED", ob_debug("%sNotify mode %d detail %d on %lx IGNORED\n",
(e->type == EnterNotify ? "Enter" : "Leave"), (e->type == EnterNotify ? "Enter" : "Leave"),
e->xcrossing.mode, e->xcrossing.mode,
e->xcrossing.detail, client?client->window:0); e->xcrossing.detail, client?client->window:0);
@ -400,7 +400,7 @@ static gboolean event_ignore(XEvent *e, ObClient *client)
return TRUE; return TRUE;
} }
#ifdef DEBUG_FOCUS #ifdef DEBUG_FOCUS
ob_debug("%sNotify mode %d detail %d on %lx", ob_debug("%sNotify mode %d detail %d on %lx\n",
(e->type == EnterNotify ? "Enter" : "Leave"), (e->type == EnterNotify ? "Enter" : "Leave"),
e->xcrossing.mode, e->xcrossing.mode,
e->xcrossing.detail, client?client->window:0); e->xcrossing.detail, client?client->window:0);