fix: remove unused variable

This commit is contained in:
Khiet Tam Nguyen
2024-08-24 01:04:58 +10:00
parent e40bc27257
commit 1806edcb06
2 changed files with 0 additions and 2 deletions

View File

@ -39,7 +39,6 @@ class WindowCount : public waybar::AAppIconLabel, public EventHandler {
const Bar& bar_; const Bar& bar_;
Workspace workspace_; Workspace workspace_;
bool focused_; bool focused_;
int windowCount_;
}; };
} // namespace waybar::modules::hyprland } // namespace waybar::modules::hyprland

View File

@ -119,7 +119,6 @@ void WindowCount::queryActiveWorkspace() {
} }
focused_ = true; focused_ = true;
windowCount_ = workspace_.windows;
if (workspace_.windows == 0) { if (workspace_.windows == 0) {
focused_ = false; focused_ = false;