From 031bd238493771dbb1a860795ab92c829f4cfd84 Mon Sep 17 00:00:00 2001 From: o9000 Date: Sun, 1 Oct 2017 18:33:53 +0200 Subject: [PATCH] Print tint2: before geometry dumps --- src/button/button.c | 4 ++-- src/execplugin/execplugin.c | 4 ++-- src/systray/systraybar.c | 2 +- src/taskbar/task.c | 4 ++-- src/util/area.c | 6 +++--- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/button/button.c b/src/button/button.c index 3b8a58a..bf9db25 100644 --- a/src/button/button.c +++ b/src/button/button.c @@ -488,7 +488,7 @@ void button_dump_geometry(void *obj, int indent) Imlib_Image tmp = imlib_context_get_image(); imlib_context_set_image(button->frontend->icon); fprintf(stderr, - "%*sIcon: x = %d, y = %d, w = %d, h = %d\n", + "tint2: %*sIcon: x = %d, y = %d, w = %d, h = %d\n", indent, "", button->frontend->iconx, @@ -499,7 +499,7 @@ void button_dump_geometry(void *obj, int indent) imlib_context_set_image(tmp); } fprintf(stderr, - "%*sText: x = %d, y = %d, w = %d, align = %s, text = %s\n", + "tint2: %*sText: x = %d, y = %d, w = %d, align = %s, text = %s\n", indent, "", button->frontend->textx, diff --git a/src/execplugin/execplugin.c b/src/execplugin/execplugin.c index 69234a6..84b0e6c 100644 --- a/src/execplugin/execplugin.c +++ b/src/execplugin/execplugin.c @@ -518,7 +518,7 @@ void execp_dump_geometry(void *obj, int indent) Imlib_Image tmp = imlib_context_get_image(); imlib_context_set_image(execp->backend->icon); fprintf(stderr, - "%*sIcon: x = %d, y = %d, w = %d, h = %d\n", + "tint2: %*sIcon: x = %d, y = %d, w = %d, h = %d\n", indent, "", execp->frontend->iconx, @@ -529,7 +529,7 @@ void execp_dump_geometry(void *obj, int indent) imlib_context_set_image(tmp); } fprintf(stderr, - "%*sText: x = %d, y = %d, w = %d, align = %s, text = %s\n", + "tint2: %*sText: x = %d, y = %d, w = %d, align = %s, text = %s\n", indent, "", execp->frontend->textx, diff --git a/src/systray/systraybar.c b/src/systray/systraybar.c index 0f130ce..ba4730c 100644 --- a/src/systray/systraybar.c +++ b/src/systray/systraybar.c @@ -257,7 +257,7 @@ void systray_dump_geometry(void *obj, int indent) for (GSList *l = tray->list_icons; l; l = l->next) { TrayWindow *traywin = (TrayWindow *)l->data; fprintf(stderr, - "%*sIcon: x = %d, y = %d, w = %d, h = %d, name = %s\n", + "tint2: %*sIcon: x = %d, y = %d, w = %d, h = %d, name = %s\n", indent, "", traywin->x, diff --git a/src/taskbar/task.c b/src/taskbar/task.c index e05590c..0f4c011 100644 --- a/src/taskbar/task.c +++ b/src/taskbar/task.c @@ -466,7 +466,7 @@ void task_dump_geometry(void *obj, int indent) Panel *panel = (Panel *)task->area.panel; fprintf(stderr, - "%*sText: x = %d, y = %d, w = %d, h = %d, align = %s, text = %s\n", + "tint2: %*sText: x = %d, y = %d, w = %d, h = %d, align = %s, text = %s\n", indent, "", (int)panel->g_task.text_posx, @@ -476,7 +476,7 @@ void task_dump_geometry(void *obj, int indent) panel->g_task.centered ? "center" : "left", task->title); fprintf(stderr, - "%*sIcon: x = %d, y = %d, w = h = %d\n", + "tint2: %*sIcon: x = %d, y = %d, w = h = %d\n", indent, "", task->_icon_x, diff --git a/src/util/area.c b/src/util/area.c index 300da04..28fffcf 100644 --- a/src/util/area.c +++ b/src/util/area.c @@ -850,7 +850,7 @@ void area_dump_geometry(Area *area, int indent) return; } fprintf(stderr, - "%*sBox: x = %d, y = %d, w = %d, h = %d, desired size = %d\n", + "tint2: %*sBox: x = %d, y = %d, w = %d, h = %d, desired size = %d\n", indent, "", area->posx, @@ -859,7 +859,7 @@ void area_dump_geometry(Area *area, int indent) area->height, compute_desired_size(area)); fprintf(stderr, - "%*sBorder: left = %d, right = %d, top = %d, bottom = %d\n", + "tint2: %*sBorder: left = %d, right = %d, top = %d, bottom = %d\n", indent, "", left_border_width(area), @@ -867,7 +867,7 @@ void area_dump_geometry(Area *area, int indent) top_border_width(area), bottom_border_width(area)); fprintf(stderr, - "%*sPadding: left = right = %d, top = bottom = %d, spacing = %d\n", + "tint2: %*sPadding: left = right = %d, top = bottom = %d, spacing = %d\n", indent, "", area->paddingxlr,