fix: remove unused variable
This commit is contained in:
@ -39,7 +39,6 @@ class WindowCount : public waybar::AAppIconLabel, public EventHandler {
|
||||
const Bar& bar_;
|
||||
Workspace workspace_;
|
||||
bool focused_;
|
||||
int windowCount_;
|
||||
};
|
||||
|
||||
} // namespace waybar::modules::hyprland
|
@ -119,7 +119,6 @@ void WindowCount::queryActiveWorkspace() {
|
||||
}
|
||||
|
||||
focused_ = true;
|
||||
windowCount_ = workspace_.windows;
|
||||
|
||||
if (workspace_.windows == 0) {
|
||||
focused_ = false;
|
||||
|
Reference in New Issue
Block a user