mirror of
https://github.com/polybar/polybar.git
synced 2026-03-29 19:46:49 +00:00
fix(tray): Emit visibility state before activate
This commit is contained in:
@ -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...");
|
||||
|
||||
Reference in New Issue
Block a user