mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-10 20:45:38 +02:00
send window without history to background when restore snapshot
This commit is contained in:
parent
5925950f24
commit
362df4c720
1 changed files with 1 additions and 3 deletions
|
@ -3205,10 +3205,9 @@ namespace PersistentWindows.Common
|
|||
{
|
||||
Log.Error("no previous record found for window {0}", GetWindowTitle(hwnd));
|
||||
|
||||
if (restoringFromMem)
|
||||
if (restoringSnapshot)
|
||||
{
|
||||
//the window did not exist when snapshot was taken
|
||||
/*
|
||||
User32.SetWindowPos(hwnd, new IntPtr(1), //bottom
|
||||
0, 0, 0, 0,
|
||||
0
|
||||
|
@ -3216,7 +3215,6 @@ namespace PersistentWindows.Common
|
|||
| SetWindowPosFlags.IgnoreMove
|
||||
| SetWindowPosFlags.IgnoreResize
|
||||
);
|
||||
*/
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue