all repos — openbox @ 7b57ef12963a298c731d0ef4a67de9c985ac9ba4

openbox fork - make it a bit more like ryudo

No \n on ob_debug in this branch.
Mikael Magnusson mikachu@gmail.com
commit

7b57ef12963a298c731d0ef4a67de9c985ac9ba4

parent

8f37a97a4cc29d35f6a632ef2f71ac760e301ee5

3 files changed, 5 insertions(+), 5 deletions(-)

jump to
M openbox/openbox.copenbox/openbox.c

@@ -605,7 +605,7 @@ /* this will be in the current locale encoding, which is

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")) {
M openbox/session.copenbox/session.c

@@ -413,7 +413,7 @@ const gchar *sname =

(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
M openbox/window.copenbox/window.c

@@ -162,7 +162,7 @@ if (XCheckTypedWindowEvent(obt_display, win, DestroyNotify, &e) ||

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 @@ }

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 @@ client_manage(win, NULL);

} else { grab_server(FALSE); - ob_debug("FAILED to manage window 0x%x\n", win); + ob_debug("FAILED to manage window 0x%x", win); } }