From 11d0c30ddbb6b0d1b2e7008b723a71e2d93208bb Mon Sep 17 00:00:00 2001 From: Kang Yu Date: Sat, 3 May 2025 23:12:28 -0700 Subject: [PATCH] disable double restore full screen window due to invisible window issue --- .../Common/PersistentWindowProcessor.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs b/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs index c53cb6b..216855a 100644 --- a/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs +++ b/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs @@ -3698,6 +3698,7 @@ namespace PersistentWindows.Common 0, 0, 0, UIntPtr.Zero); Log.Error("restore full screen window {0}", GetWindowTitle(hwnd)); + /* Thread.Sleep(3 * double_clck_interval); style = User32.GetWindowLong(hwnd, User32.GWL_STYLE); @@ -3722,6 +3723,7 @@ namespace PersistentWindows.Common } Log.Error("fail to restore full screen window {0}", GetWindowTitle(hwnd)); + */ } private void RestoreSnapWindow(IntPtr hwnd, RECT target_pos)