Merge pull request #3051 from MauroGuida/master
fix(sway/workspaces): visible class doesn't workpull/2372/merge
commit
1ecca055f7
|
@ -250,9 +250,6 @@ bool Workspaces::filterButtons() {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Workspaces::hasFlag(const Json::Value &node, const std::string &flag) {
|
bool Workspaces::hasFlag(const Json::Value &node, const std::string &flag) {
|
||||||
if (!node[flag].isBool()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if (node[flag].asBool()) {
|
if (node[flag].asBool()) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue