Workaround for empty systray icon in Google Chrome (misbehaving) - fix resize
o9000 o9000
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
src/systray/systraybar.c
→
src/systray/systraybar.c
@@ -148,7 +148,7 @@ if (systray_max_icon_size > 0 && sysbar->icon_size > systray_max_icon_size)
sysbar->icon_size = systray_max_icon_size; count = 0; for (l = systray.list_icons; l ; l = l->next) { - if (((TrayWindow*)l->data)->hide || ((TrayWindow*)l->data)->empty) + if (((TrayWindow*)l->data)->hide) continue; count++; }@@ -558,7 +558,7 @@ // check empty systray
int count = 0; GSList *l; for (l = systray.list_icons; l; l = l->next) { - if (((TrayWindow*)l->data)->hide || ((TrayWindow*)l->data)->empty) + if (((TrayWindow*)l->data)->hide) continue; count++; }