all repos — tint2 @ e96e7fbee73270e7b2bd820d1a5bee04761c3707

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

Taskbar: thumbnails (fix bad copy paste)
o9000 mrovi9000@gmail.com
commit

e96e7fbee73270e7b2bd820d1a5bee04761c3707

parent

65c91667f93b27e713c15badf45f79daaf74933b

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

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

@@ -375,8 +375,8 @@ u_int32_t c2 = data[i + 1];

u_int32_t c3 = data[i + tw]; u_int32_t c4 = data[i + tw + 1]; u_int32_t b = (5 * (c1 & bmask) + 1 * (c2 & bmask) + 1 * (c3 & bmask) + 1 * (c4 & bmask)) / 8; - u_int32_t g = (5 * (c1 & gmask) + 1 * (c2 & gmask) + 1 * (c3 & gmask) + 1 * (c4 & bmask)) / 8; - u_int32_t r = (5 * (c1 & rmask) + 1 * (c2 & rmask) + 1 * (c3 & rmask) + 1 * (c4 & bmask)) / 8; + u_int32_t g = (5 * (c1 & gmask) + 1 * (c2 & gmask) + 1 * (c3 & gmask) + 1 * (c4 & gmask)) / 8; + u_int32_t r = (5 * (c1 & rmask) + 1 * (c2 & rmask) + 1 * (c3 & rmask) + 1 * (c4 & rmask)) / 8; data[i] = (r & rmask) | (g & gmask) | (b & bmask); } }