Hide non-visible special workspaces

This commit is contained in:
alttabber
2024-05-28 16:57:47 +02:00
parent 57f2a57dac
commit 29e3d8c371
4 changed files with 12 additions and 0 deletions

View File

@ -182,6 +182,10 @@ void Workspace::update(const std::string &format, const std::string &icon) {
m_button.hide();
return;
}
if (this->m_workspaceManager.specialVisibleOnly() && this->isSpecial() && !this->isVisible()) {
m_button.hide();
return;
}
m_button.show();
auto styleContext = m_button.get_style_context();