fix(tray): Emit visibility state before activate
This commit is contained in:
parent
604e926924
commit
aca249727a
@ -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...");
|
||||||
|
Loading…
Reference in New Issue
Block a user