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"); m_log.trace("bar: Activate tray manager");
try { try {
m_tray->activate();
broadcast_visibility(); broadcast_visibility();
m_tray->activate();
} catch (const exception& err) { } catch (const exception& err) {
m_log.err(err.what()); m_log.err(err.what());
m_log.err("Failed to activate tray manager, disabling..."); m_log.err("Failed to activate tray manager, disabling...");