mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 04:55:39 +02:00
refine inherit log message
This commit is contained in:
parent
452ef9017c
commit
800b6afa15
1 changed files with 4 additions and 1 deletions
|
@ -2844,7 +2844,10 @@ namespace PersistentWindows.Common
|
||||||
if (kid != IntPtr.Zero)
|
if (kid != IntPtr.Zero)
|
||||||
{
|
{
|
||||||
InheritKilledWindow(hwnd, kid);
|
InheritKilledWindow(hwnd, kid);
|
||||||
Log.Error($"Inherit position data from killed window 0x{kid.ToString("X")} for {curDisplayMetrics.Title}");
|
if (hwnd != kid)
|
||||||
|
Log.Error($"Inherit position data from killed window 0x{kid.ToString("X")} for {curDisplayMetrics.Title}");
|
||||||
|
else
|
||||||
|
Log.Error($"Inherit position data from existing window 0x{kid.ToString("X")} for {curDisplayMetrics.Title}");
|
||||||
}
|
}
|
||||||
|
|
||||||
//newly created window or new display setting
|
//newly created window or new display setting
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue