all repos — tint2 @ 0a035c9c3b4b60089e99420273d302d0bd27745e

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

Disable system tray empty icon detection, since it is buggy
o9000 mrovi9000@gmail.com
commit

0a035c9c3b4b60089e99420273d302d0bd27745e

parent

1ff868fdb78adbe0f49682d7aa35f1b53670cfad

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

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

@@ -547,14 +547,19 @@ pid += prop[0];

} } - // Check if the application leaves behind empty icons - int num_empty_same_pid = 0; for (GSList *l = systray.list_icons; l; l = l->next) { TrayWindow *other = (TrayWindow *)l->data; if (other->win == win) { free(name); return FALSE; } + } + + // Check if the application leaves behind empty icons + int num_empty_same_pid = 0; +#if 0 + for (GSList *l = systray.list_icons; l; l = l->next) { + TrayWindow *other = (TrayWindow *)l->data; if (!systray_composited) { // Empty icon detection: we compare the contents of the icon with the contents of the panel pixmap. // If any pixel is different, the icon is not empty.

@@ -628,6 +633,7 @@ break;

} } } +#endif // Create the parent window that will embed the icon XWindowAttributes attr;