fix: tray isn't visible when a module updates (#2742)
This commit is contained in:
parent
a42e533089
commit
9f4e88c07d
@ -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) {
|
bool tray_manager::on(const signals::ui_tray::tray_visibility& evt) {
|
||||||
|
if (m_opts.tray_position == tray_postition::MODULE) {
|
||||||
return change_visibility(evt.cast());
|
return change_visibility(evt.cast());
|
||||||
|
} else {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
POLYBAR_NS_END
|
POLYBAR_NS_END
|
||||||
|
Loading…
Reference in New Issue
Block a user