From aca249727a30b814498da764e30a7ad9d2bae8f6 Mon Sep 17 00:00:00 2001 From: Michael Carlberg Date: Sat, 3 Dec 2016 21:19:39 +0100 Subject: [PATCH] fix(tray): Emit visibility state before activate --- src/components/bar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/bar.cpp b/src/components/bar.cpp index 585b5477..56907825 100644 --- a/src/components/bar.cpp +++ b/src/components/bar.cpp @@ -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...");