fix: remove unused variable
This commit is contained in:
parent
e40bc27257
commit
1806edcb06
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue