mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
Merge branch 'master' into feature/makefile
This commit is contained in:
commit
a078be991a
@ -37,7 +37,7 @@ struct SleeperThread {
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool isRunnging() const
|
bool isRunning() const
|
||||||
{
|
{
|
||||||
return do_run_;
|
return do_run_;
|
||||||
}
|
}
|
||||||
|
@ -23,7 +23,7 @@ void waybar::modules::sway::Workspaces::worker()
|
|||||||
while (bar_.output_name.empty()) {
|
while (bar_.output_name.empty()) {
|
||||||
thread_.sleep_for(chrono::milliseconds(150));
|
thread_.sleep_for(chrono::milliseconds(150));
|
||||||
}
|
}
|
||||||
} else if (thread_.isRunnging() && !workspaces_.empty()) {
|
} else if (thread_.isRunning() && !workspaces_.empty()) {
|
||||||
ipc_.handleEvent();
|
ipc_.handleEvent();
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user