Fix resizing logic (taskbar_distribute_size was broken, resizing triggered unnecessary redraws)

This commit is contained in:
o9000
2016-10-09 16:33:33 +02:00
parent 0d861ebd97
commit 1d15c41c1b
8 changed files with 124 additions and 120 deletions

View File

@@ -701,8 +701,7 @@ gboolean add_icon(Window win)
traywin->chrono = chrono;
chrono++;
if (!systray.area.on_screen)
show(&systray.area);
show(&systray.area);
if (systray.sort == SYSTRAY_SORT_RIGHT2LEFT)
systray.list_icons = g_slist_prepend(systray.list_icons, traywin);