summaryrefslogtreecommitdiffstats
path: root/sway/debug-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/debug-tree.c')
-rw-r--r--sway/debug-tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/debug-tree.c b/sway/debug-tree.c
index d803d07b..ae0a1869 100644
--- a/sway/debug-tree.c
+++ b/sway/debug-tree.c
@@ -34,7 +34,7 @@ static int draw_container(cairo_t *cairo, struct sway_container *container,
34 struct sway_container *focus, int x, int y) { 34 struct sway_container *focus, int x, int y) {
35 int text_width, text_height; 35 int text_width, text_height;
36 get_text_size(cairo, "monospace", &text_width, &text_height, 36 get_text_size(cairo, "monospace", &text_width, &text_height,
37 1, false, "%s id:%zd '%s' %s %dx%d@%d,%d", 37 1, false, "%s id:%zd '%s' %s %.fx%.f@%.f,%.f",
38 container_type_to_str(container->type), container->id, container->name, 38 container_type_to_str(container->type), container->id, container->name,
39 layout_to_str(container->layout), 39 layout_to_str(container->layout),
40 container->width, container->height, container->x, container->y); 40 container->width, container->height, container->x, container->y);
@@ -62,7 +62,7 @@ static int draw_container(cairo_t *cairo, struct sway_container *container,
62 if (focus == container) { 62 if (focus == container) {
63 cairo_set_source_u32(cairo, 0x0000FFFF); 63 cairo_set_source_u32(cairo, 0x0000FFFF);
64 } 64 }
65 pango_printf(cairo, "monospace", 1, false, "%s id:%zd '%s' %s %dx%d@%d,%d", 65 pango_printf(cairo, "monospace", 1, false, "%s id:%zd '%s' %s %.fx%.f@%.f,%.f",
66 container_type_to_str(container->type), container->id, container->name, 66 container_type_to_str(container->type), container->id, container->name,
67 layout_to_str(container->layout), 67 layout_to_str(container->layout),
68 container->width, container->height, container->x, container->y); 68 container->width, container->height, container->x, container->y);