disable putting no record window to bottom z-order

This commit is contained in:
Kang Yu 2025-01-29 21:29:48 -08:00
parent b32fbee4d0
commit 145769a886

View file

@ -3205,6 +3205,7 @@ namespace PersistentWindows.Common
if (restoringFromMem) if (restoringFromMem)
{ {
//the window did not exist when snapshot was taken //the window did not exist when snapshot was taken
/*
User32.SetWindowPos(hwnd, new IntPtr(1), //bottom User32.SetWindowPos(hwnd, new IntPtr(1), //bottom
0, 0, 0, 0, 0, 0, 0, 0,
0 0
@ -3212,6 +3213,7 @@ namespace PersistentWindows.Common
| SetWindowPosFlags.IgnoreMove | SetWindowPosFlags.IgnoreMove
| SetWindowPosFlags.IgnoreResize | SetWindowPosFlags.IgnoreResize
); );
*/
return false; return false;
} }