fix failure to restore taskbar after full-screen gaming play

This commit is contained in:
Kang Yu 2024-10-26 15:57:08 -07:00
parent 76118726a8
commit 0d3d5c24f3

View file

@ -1806,9 +1806,10 @@ namespace PersistentWindows.Common
if (fullScreenGamingWindows.Contains(hwnd))
{
fullScreenGamingWindows.Remove(hwnd);
fullScreenGamingWindow = IntPtr.Zero;
exitFullScreenGaming = true;
}
if (hwnd == fullScreenGamingWindow)
fullScreenGamingWindow = IntPtr.Zero;
dualPosSwitchWindows.Remove(hwnd);
bool found_history = false;