summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/wee-debug.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/core/wee-debug.c b/src/core/wee-debug.c
index dda4cc5e6..009349b74 100644
--- a/src/core/wee-debug.c
+++ b/src/core/wee-debug.c
@@ -194,14 +194,15 @@ debug_windows_tree_display (struct t_gui_window_tree *tree, int indent)
/* leaf */
snprintf (format,
sizeof (format),
- "%%-%dsleaf: 0x%%lx (parent:0x%%lx), win=0x%%lx, "
- "child1=0x%%lx, child2=0x%%lx, %%d,%%d %%dx%%d, "
- "%%d%%%%x%%d%%%%",
+ "%%-%dsleaf: 0x%%lx, parent:0x%%lx, child1=0x%%lx, "
+ "child2=0x%%lx, win=0x%%lx (%%d,%%d %%dx%%d"
+ " %%d%%%%x%%d%%%%)",
indent * 2);
gui_chat_printf (NULL,
format,
- " ", tree, tree->parent_node, tree->window,
+ " ", tree, tree->parent_node,
tree->child1, tree->child2,
+ tree->window,
tree->window->win_x, tree->window->win_y,
tree->window->win_width, tree->window->win_height,
tree->window->win_width_pct,
@@ -212,12 +213,13 @@ debug_windows_tree_display (struct t_gui_window_tree *tree, int indent)
/* node */
snprintf (format,
sizeof (format),
- "%%-%dsnode: 0x%%lx (parent:0x%%lx), win=0x%%lx, "
- "child1=0x%%lx, child2=0x%%lx",
+ "%%-%dsnode: 0x%%lx, parent:0x%%lx, pct:%%d, "
+ "horizontal:%%d, child1=0x%%lx, child2=0x%%lx",
indent * 2);
gui_chat_printf (NULL,
format,
- " ", tree, tree->parent_node, tree->window,
+ " ", tree, tree->parent_node, tree->split_pct,
+ tree->split_horizontal,
tree->child1, tree->child2);
}