From 7727a17153ed0dfa47747c01847862edd5a889be Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 13 Oct 2022 20:49:30 +0200 Subject: [PATCH] Request attention on disconnect. --- server/TracyView.cpp | 1 + server/TracyView.hpp | 1 + 2 files changed, 2 insertions(+) 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; }; }