mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 13:05:38 +02:00
reliably send window to bottom z-order if no qualified restore record is found
This commit is contained in:
parent
cd328c2979
commit
7f5f465362
1 changed files with 1 additions and 1 deletions
|
@ -3163,7 +3163,7 @@ namespace PersistentWindows.Common
|
|||
Log.Error("no previous record found for window {0}", GetWindowTitle(hwnd));
|
||||
noRecordWindows.Add(hwnd);
|
||||
|
||||
if (restoringFromMem && monitorApplications[displayKey][hwnd].Count < 2)
|
||||
if (restoringFromMem)
|
||||
{
|
||||
//the window did not exist when snapshot was taken
|
||||
User32.SetWindowPos(hwnd, new IntPtr(1), //bottom
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue