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
path: root/server
diff options
context:
space:
mode:
authorBartosz Taudul <wolf@nereid.pl>2022-10-13 21:49:30 +0300
committerBartosz Taudul <wolf@nereid.pl>2022-10-13 21:49:30 +0300
commit7727a17153ed0dfa47747c01847862edd5a889be (patch)
tree55ba72d8800dbce94214d6cb7a450da6b113edba /server
parent1c5d90c98abde38a44db1949dd9ca2fe2bf5eb9b (diff)
Request attention on disconnect.
Diffstat (limited to 'server')
-rw-r--r--server/TracyView.cpp1
-rw-r--r--server/TracyView.hpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/server/TracyView.cpp b/server/TracyView.cpp
index f1d238ba..6b373985 100644
--- a/server/TracyView.cpp
+++ b/server/TracyView.cpp
@@ -741,6 +741,7 @@ bool View::DrawImpl()
}
else
{
+ Attention( m_attnDisconnected );
ImGui::BeginDisabled();
ImGui::ButtonEx( MainWindowButtons[2], ImVec2( bw, 0 ) );
ImGui::EndDisabled();
diff --git a/server/TracyView.hpp b/server/TracyView.hpp
index 6eb861b0..ef5baa92 100644
--- a/server/TracyView.hpp
+++ b/server/TracyView.hpp
@@ -840,6 +840,7 @@ private:
bool m_attnDropped = false;
bool m_attnFailure = false;
bool m_attnWorking = false;
+ bool m_attnDisconnected = false;
};
}