mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-13 14:42:29 +02:00
fix(sway/workspaces): visible class doesn't work
This commit is contained in:
@ -250,9 +250,6 @@ bool Workspaces::filterButtons() {
|
||||
}
|
||||
|
||||
bool Workspaces::hasFlag(const Json::Value &node, const std::string &flag) {
|
||||
if (!node[flag].isBool()) {
|
||||
return false;
|
||||
}
|
||||
if (node[flag].asBool()) {
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user