do not center cursor to avoid restore failure

This commit is contained in:
Kang Yu 2024-01-29 18:41:16 -08:00
parent cd2372dae6
commit 472b12ba3a

View file

@ -630,7 +630,6 @@ namespace PersistentWindows.Common
{
restoringFromMem = true;
StartRestoreTimer(milliSecond: UserForcedRestoreLatency > 0 ? UserForcedRestoreLatency : RestoreLatency);
CenterCursor();
}
}
else if (error == 0 && pquns.HasFlag(Shell32.QUERY_USER_NOTIFICATION_STATE.QUNS_RUNNING_D3D_FULL_SCREEN))