mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-10 20:45:38 +02:00
speedup inheritance of killed window
This commit is contained in:
parent
c292fdd1b1
commit
5925950f24
1 changed files with 3 additions and 1 deletions
|
@ -471,7 +471,9 @@ namespace PersistentWindows.Common
|
||||||
// If the window move is caused by user snapping window to screen edge,
|
// If the window move is caused by user snapping window to screen edge,
|
||||||
// delay capture by a few seconds should be fine.
|
// delay capture by a few seconds should be fine.
|
||||||
|
|
||||||
if (monitorApplications.ContainsKey(curDisplayKey) && monitorApplications[curDisplayKey].ContainsKey(hwnd))
|
if (monitorApplications.ContainsKey(curDisplayKey)
|
||||||
|
&& (monitorApplications[curDisplayKey].ContainsKey(hwnd)
|
||||||
|
|| FindMatchingKilledWindow(hwnd) != IntPtr.Zero))
|
||||||
{
|
{
|
||||||
//capture with slight delay inperceivable by user, required for full screen mode recovery
|
//capture with slight delay inperceivable by user, required for full screen mode recovery
|
||||||
userMove = true;
|
userMove = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue