fix(sway/workspaces): visible class doesn't work
This commit is contained in:
parent
6d690ad48b
commit
c841bf567b
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue