all repos — tint2 @ 8f67884119b00976cd4c714f685e731eb482043c

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

Turn off debugging output
o9000 mrovi9000@gmail.com
commit

8f67884119b00976cd4c714f685e731eb482043c

parent

0932cc1084ae2186373080b07e068e1ca2bb01f2

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

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

@@ -288,7 +288,7 @@ DATA32 icon_data[w * h];

for (int j = 0; j < w * h; ++j) icon_data[j] = tmp_data[j]; img = imlib_create_image_using_copied_data(w, h, icon_data); - if (img) + if (0 && img) fprintf(stderr, "%s: Got %dx%d icon via _NET_WM_ICON for %s\n", __FUNCTION__,

@@ -312,7 +312,7 @@

XGetGeometry(server.display, hints->icon_pixmap, &root, &icon_x, &icon_y, &w, &h, &border_width, &bpp); imlib_context_set_drawable(hints->icon_pixmap); img = imlib_create_image_from_drawable(hints->icon_mask, 0, 0, w, h, 0); - if (img) + if (0 && img) fprintf(stderr, "%s: Got %dx%d pixmap icon via WM_HINTS for %s\n", __FUNCTION__,

@@ -327,7 +327,8 @@

if (img == NULL) { imlib_context_set_image(default_icon); img = imlib_clone_image(); - fprintf(stderr, "%s: Using default icon for %s\n", __FUNCTION__, task->title ? task->title : "task"); + if (0) + fprintf(stderr, "%s: Using default icon for %s\n", __FUNCTION__, task->title ? task->title : "task"); } // transform icons