Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf@nereid.pl>2022-09-28 01:48:45 +0300
committerBartosz Taudul <wolf@nereid.pl>2022-09-28 01:48:45 +0300
commit09d7b7336fa3e765fdbcc78d9c1614960decf784 (patch)
treedc2e1671177dc0460ec99621fd8085d8069178dd
parent1f8de433ec29f1c56b43486b9ee3b3747d12995b (diff)
Mark activity when notification area is in use.
-rw-r--r--server/TracyView.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/TracyView.cpp b/server/TracyView.cpp
index a2128705..5660557d 100644
--- a/server/TracyView.cpp
+++ b/server/TracyView.cpp
@@ -1291,7 +1291,9 @@ void View::HighlightThread( uint64_t thread )
bool View::WasActive() const
{
return m_zoomAnim.active ||
- m_worker.IsConnected();
+ m_notificationTime > 0 ||
+ m_worker.IsConnected() ||
+ !m_worker.IsBackgroundDone();
}
}