From 06c1bb4e59253ece9dad755730c77b50236411ed Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 13 Nov 2021 01:34:49 +0100 Subject: [PATCH] Open callstack windows when clicking on context switch. --- server/TracyView.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index b04cd290..2d3bf604 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -3980,6 +3980,10 @@ void View::DrawContextSwitches( const ContextSwitch* ctx, const Vectorcallstack.Val() ); + if( ImGui::IsMouseClicked( 0 ) ) + { + m_callstackInfoWindow = sdit->callstack.Val(); + } } } ImGui::EndTooltip();