all repos — tint2 @ 3155a5fc89d74e7b62bdedf1364ceace21968ef0

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

Taskbar: thumbnails (profiling)
o9000 mrovi9000@gmail.com
commit

3155a5fc89d74e7b62bdedf1364ceace21968ef0

parent

bc4af51e829c51f4b042db7dccf5ed13b4ee6f24

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M src/taskbar/task.csrc/taskbar/task.c

@@ -632,6 +632,9 @@ if (task->thumbnail)

cairo_surface_destroy(task->thumbnail); task->thumbnail = thumbnail; task->thumbnail_last_update = get_time(); + if (task->thumbnail_last_update - now > 0.01) { + fprintf(stderr, YELLOW "tint2: %s took %f ms (window: %s)" RESET "\n", __func__, 1000 * (task->thumbnail_last_update - now), task->title ? task->title : ""); + } if (g_tooltip.mapped && (g_tooltip.area == &task->area)) { tooltip_update_contents_for(&task->area); tooltip_update();