Merge pull request #3051 from MauroGuida/master

fix(sway/workspaces): visible class doesn't work
pull/2372/merge
Alexis Rouillard 2024-03-20 15:26:31 +01:00 committed by GitHub
commit 1ecca055f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 3 deletions

View File

@ -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;
}