debug print inherited window handle

This commit is contained in:
Kang Yu 2025-04-26 18:37:18 -07:00
parent 2ba0a5395b
commit 769f35b681

View file

@ -3140,9 +3140,9 @@ namespace PersistentWindows.Common
if (hwnd != kid)
{
if (prevDisplayMetrics.Title != curDisplayMetrics.Title)
Log.Error($"Inherit position data from killed window {prevDisplayMetrics.Title} with different title {curDisplayMetrics.Title}");
Log.Error($"Inherit position data from killed window {prevDisplayMetrics.Title} with different title {curDisplayMetrics.Title} {prevDisplayMetrics.HWnd.ToString("X")}");
else
Log.Error($"Inherit position data from killed window {prevDisplayMetrics.Title}");
Log.Error($"Inherit position data from killed window {prevDisplayMetrics.Title} {prevDisplayMetrics.HWnd.ToString("X")}");
ResolveWindowHandleCollision(hwnd);
}
else