all repos — tint2 @ cbf3cebbb01831dc237643c91ec47e014e0d89b7

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

Taskbar: thumbnails (XShmGetImage - avoid leaking in X)
o9000 mrovi9000@gmail.com
commit

cbf3cebbb01831dc237643c91ec47e014e0d89b7

parent

4b50446a7b7301d5a228bbbf2eac67dc17976764

1 files changed, 6 insertions(+), 1 deletions(-)

jump to
M src/util/window.csrc/util/window.c

@@ -536,6 +536,10 @@

// 2nd pass smooth_thumbnail(result); + if (ximg) { + XDestroyImage(ximg); + ximg = NULL; + } err4: if (use_shm) XShmDetach(server.display, &shminfo);

@@ -546,7 +550,8 @@ err2:

if (use_shm) shmctl(shminfo.shmid, IPC_RMID, NULL); err1: - XDestroyImage(ximg); + if (ximg) + XDestroyImage(ximg); err0: return result; }