Remove BlockWindowMaximize method from Win32Helper

This commit is contained in:
DB P 2025-06-02 19:19:41 +09:00
parent 556a4c881c
commit 0ecc01d328

View file

@ -162,13 +162,6 @@ namespace Flow.Launcher.Infrastructure
SetWindowStyle(hwnd, WINDOW_LONG_PTR_INDEX.GWL_EXSTYLE, (int)newExStyle);
}
public static void BlockWindowMaximize(Window window, HwndSourceHook hook)
{
var handle = GetWindowHandle(window, true);
var hwndSource = HwndSource.FromHwnd(handle);
hwndSource.AddHook(hook);
}
/// <summary>
/// Restore window display in the Alt+Tab window list.