all repos — tint2 @ 8795f50bb8b1800cbf0a16ab966e3120fd75bb77

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

Workaround for empty systray icon in Google Chrome (misbehaving) - fix sorting
o9000 o9000
commit

8795f50bb8b1800cbf0a16ab966e3120fd75bb77

parent

3ab42f9b726a02474e073af3f179264180c25af7

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

jump to
M src/systray/systraybar.csrc/systray/systraybar.c

@@ -495,10 +495,9 @@ show(&systray.area);

if (systray.sort == 3) systray.list_icons = g_slist_prepend(systray.list_icons, traywin); - else if (systray.sort == 2) + else systray.list_icons = g_slist_append(systray.list_icons, traywin); - else - systray.list_icons = g_slist_insert_sorted(systray.list_icons, traywin, compare_traywindows); + systray.list_icons = g_slist_sort(systray.list_icons, compare_traywindows); //printf("add_icon id %lx, %d\n", id, g_slist_length(systray.list_icons)); if (FORCE_COMPOSITED_RENDERING || server.real_transparency || systray.alpha != 100 || systray.brightness != 0 || systray.saturation != 0) {