This commit is contained in:
Caleb Bassi 2018-12-27 16:03:29 -08:00
parent 513278597a
commit b4d38294a7
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ struct SleeperThread {
return *this;
}
bool isRunnging() const
bool isRunning() const
{
return do_run_;
}

View File

@ -23,7 +23,7 @@ void waybar::modules::sway::Workspaces::worker()
while (bar_.output_name.empty()) {
thread_.sleep_for(chrono::milliseconds(150));
}
} else if (thread_.isRunnging() && !workspaces_.empty()) {
} else if (thread_.isRunning() && !workspaces_.empty()) {
ipc_.handleEvent();
}
{