add 'onThisMonitor' css class

pull/2968/head
Jannik 2024-02-25 00:52:33 +01:00
parent 16079eae09
commit 4cc2800a78
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -871,6 +871,7 @@ void Workspace::update(const std::string &format, const std::string &icon) {
addOrRemoveClass(styleContext, isPersistent(), "persistent");
addOrRemoveClass(styleContext, isUrgent(), "urgent");
addOrRemoveClass(styleContext, isVisible(), "visible");
addOrRemoveClass(styleContext, m_workspaceManager.getBarOutput() == output(), "onThisMonitor");
std::string windows;
auto windowSeparator = m_workspaceManager.getWindowSeparator();