From 286bf5fdb2e0aa2ea01ff6b46261f2e10cfc0a82 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Mon, 17 Aug 2020 12:21:07 +0200 Subject: [PATCH] The Window which has the focus is now marked with "(*)" in traces --- radio/src/thirdparty/libopenui/src/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/thirdparty/libopenui/src/window.cpp b/radio/src/thirdparty/libopenui/src/window.cpp index df605368d..e4e8745ae 100644 --- a/radio/src/thirdparty/libopenui/src/window.cpp +++ b/radio/src/thirdparty/libopenui/src/window.cpp @@ -244,7 +244,7 @@ void Window::fullPaint(BitmapBuffer * dc) } if (paintNeeded) { - TRACE_WINDOWS_INDENT("%s", getWindowDebugString().c_str()); + TRACE_WINDOWS_INDENT("%s%s", getWindowDebugString().c_str(), hasFocus() ? " (*)" : ""); paint(dc); #if defined(WINDOWS_INSPECT_BORDER_COLOR) dc->drawSolidRect(0, 0, width(), height(), 1, WINDOWS_INSPECT_BORDER_COLOR);