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