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:
parent
604e926924
commit
aca249727a
1 changed files with 1 additions and 1 deletions
|
@ -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...");
|
||||
|
|
Loading…
Reference in a new issue