mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 04:55:39 +02:00
#357, invalid IntPtr blocks taskbar restore
This commit is contained in:
parent
860034633a
commit
31e0ebc85e
1 changed files with 1 additions and 1 deletions
|
@ -567,7 +567,7 @@ namespace PersistentWindows.Common
|
|||
if (restoringFromMem)
|
||||
return;
|
||||
|
||||
if (fullScreenGamingWindow == foreGroundWindow)
|
||||
if (foreGroundWindow != IntPtr.Zero && fullScreenGamingWindow == foreGroundWindow)
|
||||
{
|
||||
fullScreenGamingWindows.Add(fullScreenGamingWindow);
|
||||
fullScreenGamingWindow = IntPtr.Zero;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue