1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-10-27 05:23:39 -04:00

fix(tray): Emit visibility state before activate

This commit is contained in:
Michael Carlberg 2016-12-03 21:19:39 +01:00
parent 604e926924
commit aca249727a

View file

@ -342,8 +342,8 @@ void bar::activate_tray() {
m_log.trace("bar: Activate tray manager");
try {
m_tray->activate();
broadcast_visibility();
m_tray->activate();
} catch (const exception& err) {
m_log.err(err.what());
m_log.err("Failed to activate tray manager, disabling...");