mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 13:05:38 +02:00
fix freeze capture not working
This commit is contained in:
parent
e3b184b68d
commit
a398bba08a
1 changed files with 3 additions and 1 deletions
|
@ -665,6 +665,8 @@ namespace PersistentWindows.Common
|
|||
if (restoringFromMem)
|
||||
return;
|
||||
|
||||
if (freezeCapture)
|
||||
return;
|
||||
/*
|
||||
if (foreGroundWindow != IntPtr.Zero && fullScreenGamingWindow == foreGroundWindow)
|
||||
{
|
||||
|
@ -754,6 +756,7 @@ namespace PersistentWindows.Common
|
|||
}
|
||||
|
||||
CaptureApplicationsOnCurrentDisplays(curDisplayKey, immediateCapture: true);
|
||||
freezeCapture = false;
|
||||
}
|
||||
|
||||
bool db_exist = false;
|
||||
|
@ -771,7 +774,6 @@ namespace PersistentWindows.Common
|
|||
}
|
||||
|
||||
enableRestoreMenu(db_exist, checkUpgrade);
|
||||
freezeCapture = false;
|
||||
|
||||
bool snapshot_exist = SnapshotExists(curDisplayKey);
|
||||
enableRestoreSnapshotMenu(snapshot_exist);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue