mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-10 20:45:38 +02:00
fix early capture
This commit is contained in:
parent
6764546824
commit
041ddcbb6d
1 changed files with 1 additions and 4 deletions
|
@ -585,9 +585,6 @@ namespace PersistentWindows.Common
|
|||
//try to inherit from killed window database
|
||||
bool isMoved = IsWindowMoved(curDisplayKey, h, 0, now, out curDisplayMetrics, out prevDisplayMetrics);
|
||||
}
|
||||
|
||||
if (normalSessions.Contains(curDisplayKey))
|
||||
CaptureApplicationsOnCurrentDisplays(curDisplayKey, immediateCapture:true);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2645,7 +2642,7 @@ namespace PersistentWindows.Common
|
|||
private void StartCaptureTimer(int milliSeconds = CaptureLatency)
|
||||
{
|
||||
// ignore defer timer request to capture user move ASAP
|
||||
if (captureTimerStarted)
|
||||
if (captureTimerStarted && milliSeconds > UserMoveLatency)
|
||||
return;
|
||||
captureTimerStarted = true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue