Print tint2: before geometry dumps

This commit is contained in:
o9000 2017-10-01 18:33:53 +02:00
parent 7e2dc91ce7
commit 031bd23849
5 changed files with 10 additions and 10 deletions

View file

@ -488,7 +488,7 @@ void button_dump_geometry(void *obj, int indent)
Imlib_Image tmp = imlib_context_get_image(); Imlib_Image tmp = imlib_context_get_image();
imlib_context_set_image(button->frontend->icon); imlib_context_set_image(button->frontend->icon);
fprintf(stderr, fprintf(stderr,
"%*sIcon: x = %d, y = %d, w = %d, h = %d\n", "tint2: %*sIcon: x = %d, y = %d, w = %d, h = %d\n",
indent, indent,
"", "",
button->frontend->iconx, button->frontend->iconx,
@ -499,7 +499,7 @@ void button_dump_geometry(void *obj, int indent)
imlib_context_set_image(tmp); imlib_context_set_image(tmp);
} }
fprintf(stderr, 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, indent,
"", "",
button->frontend->textx, button->frontend->textx,

View file

@ -518,7 +518,7 @@ void execp_dump_geometry(void *obj, int indent)
Imlib_Image tmp = imlib_context_get_image(); Imlib_Image tmp = imlib_context_get_image();
imlib_context_set_image(execp->backend->icon); imlib_context_set_image(execp->backend->icon);
fprintf(stderr, fprintf(stderr,
"%*sIcon: x = %d, y = %d, w = %d, h = %d\n", "tint2: %*sIcon: x = %d, y = %d, w = %d, h = %d\n",
indent, indent,
"", "",
execp->frontend->iconx, execp->frontend->iconx,
@ -529,7 +529,7 @@ void execp_dump_geometry(void *obj, int indent)
imlib_context_set_image(tmp); imlib_context_set_image(tmp);
} }
fprintf(stderr, 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, indent,
"", "",
execp->frontend->textx, execp->frontend->textx,

View file

@ -257,7 +257,7 @@ void systray_dump_geometry(void *obj, int indent)
for (GSList *l = tray->list_icons; l; l = l->next) { for (GSList *l = tray->list_icons; l; l = l->next) {
TrayWindow *traywin = (TrayWindow *)l->data; TrayWindow *traywin = (TrayWindow *)l->data;
fprintf(stderr, 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, indent,
"", "",
traywin->x, traywin->x,

View file

@ -466,7 +466,7 @@ void task_dump_geometry(void *obj, int indent)
Panel *panel = (Panel *)task->area.panel; Panel *panel = (Panel *)task->area.panel;
fprintf(stderr, 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, indent,
"", "",
(int)panel->g_task.text_posx, (int)panel->g_task.text_posx,
@ -476,7 +476,7 @@ void task_dump_geometry(void *obj, int indent)
panel->g_task.centered ? "center" : "left", panel->g_task.centered ? "center" : "left",
task->title); task->title);
fprintf(stderr, fprintf(stderr,
"%*sIcon: x = %d, y = %d, w = h = %d\n", "tint2: %*sIcon: x = %d, y = %d, w = h = %d\n",
indent, indent,
"", "",
task->_icon_x, task->_icon_x,

View file

@ -850,7 +850,7 @@ void area_dump_geometry(Area *area, int indent)
return; return;
} }
fprintf(stderr, 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, indent,
"", "",
area->posx, area->posx,
@ -859,7 +859,7 @@ void area_dump_geometry(Area *area, int indent)
area->height, area->height,
compute_desired_size(area)); compute_desired_size(area));
fprintf(stderr, fprintf(stderr,
"%*sBorder: left = %d, right = %d, top = %d, bottom = %d\n", "tint2: %*sBorder: left = %d, right = %d, top = %d, bottom = %d\n",
indent, indent,
"", "",
left_border_width(area), left_border_width(area),
@ -867,7 +867,7 @@ void area_dump_geometry(Area *area, int indent)
top_border_width(area), top_border_width(area),
bottom_border_width(area)); bottom_border_width(area));
fprintf(stderr, fprintf(stderr,
"%*sPadding: left = right = %d, top = bottom = %d, spacing = %d\n", "tint2: %*sPadding: left = right = %d, top = bottom = %d, spacing = %d\n",
indent, indent,
"", "",
area->paddingxlr, area->paddingxlr,