summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2008-06-10 17:55:03 +0200
committerMikael Magnusson <mikachu@gmail.com>2008-10-27 00:55:42 +0100
commit7b57ef12963a298c731d0ef4a67de9c985ac9ba4 (patch)
treea8507e7278f2f19d449272c6019ecbd11627d8f5 /openbox
parent8f37a97a4cc29d35f6a632ef2f71ac760e301ee5 (diff)
No \n on ob_debug in this branch.
Diffstat (limited to 'openbox')
-rw-r--r--openbox/openbox.c2
-rw-r--r--openbox/session.c2
-rw-r--r--openbox/window.c6
3 files changed, 5 insertions, 5 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c
index d6e87d94..5be4e785 100644
--- a/openbox/openbox.c
+++ b/openbox/openbox.c
@@ -605,7 +605,7 @@ static void parse_args(gint *argc, gchar **argv)
what we want */
config_file = argv[i+1];
++i; /* skip the argument */
- ob_debug("--config-file %s\n", config_file);
+ ob_debug("--config-file %s", config_file);
}
}
else if (!strcmp(argv[i], "--sm-save-file")) {
diff --git a/openbox/session.c b/openbox/session.c
index e4ecb6c7..db62589a 100644
--- a/openbox/session.c
+++ b/openbox/session.c
@@ -413,7 +413,7 @@ static void sm_save_yourself(SmcConn conn, SmPointer data, gint save_type,
(save_type == SmSaveLocal ? "SmSaveLocal" :
(save_type == SmSaveGlobal ? "SmSaveGlobal" :
(save_type == SmSaveBoth ? "SmSaveBoth" : "INVALID!!")));
- ob_debug_type(OB_DEBUG_SM, "Session save requested, type %s\n", sname);
+ ob_debug_type(OB_DEBUG_SM, "Session save requested, type %s", sname);
}
#endif
diff --git a/openbox/window.c b/openbox/window.c
index b90dc509..19b362ed 100644
--- a/openbox/window.c
+++ b/openbox/window.c
@@ -162,7 +162,7 @@ void window_manage(Window win)
XCheckTypedWindowEvent(obt_display, win, UnmapNotify, &e))
{
XPutBackEvent(obt_display, &e);
- ob_debug("Trying to manage unmapped window. Aborting that.\n");
+ ob_debug("Trying to manage unmapped window. Aborting that.");
no_manage = TRUE;
}
@@ -187,7 +187,7 @@ void window_manage(Window win)
if (!no_manage) {
if (attrib.override_redirect) {
- ob_debug("not managing override redirect window 0x%x\n", win);
+ ob_debug("not managing override redirect window 0x%x", win);
grab_server(FALSE);
}
else if (is_dockapp) {
@@ -200,7 +200,7 @@ void window_manage(Window win)
}
else {
grab_server(FALSE);
- ob_debug("FAILED to manage window 0x%x\n", win);
+ ob_debug("FAILED to manage window 0x%x", win);
}
}