diff --git a/src/x11/tray_manager.cpp b/src/x11/tray_manager.cpp index eba3560e..442a0601 100644 --- a/src/x11/tray_manager.cpp +++ b/src/x11/tray_manager.cpp @@ -1183,7 +1183,7 @@ bool tray_manager::on(const signals::ui_tray::tray_pos_change& evt) { } bool tray_manager::on(const signals::ui_tray::tray_visibility& evt) { - if (m_opts.tray_position == tray_postition::MODULE) { + if (evt.cast() == m_hidden && m_opts.tray_position == tray_postition::MODULE) { return change_visibility(evt.cast()); } else { return true;