accelarate auto restore for pop up window activated from previous display config

This commit is contained in:
Kang Yu 2024-11-04 11:19:53 -08:00
parent 4d6b24d8fc
commit e4571e4f34

View file

@ -731,10 +731,7 @@ namespace PersistentWindows.Common
snapshotTakenTime[curDisplayKey][MaxSnapshots - 2] = snapshotTakenTime[curDisplayKey][MaxSnapshots];
}
if (wasRestoringSnapshot || noRestoreWindowsTmp.Count > 0)
CaptureApplicationsOnCurrentDisplays(curDisplayKey, immediateCapture: true);
else
StartCaptureTimer();
CaptureApplicationsOnCurrentDisplays(curDisplayKey, immediateCapture: true);
}
bool db_exist = false;