diff --git a/Flow.Launcher.Infrastructure/Win32Helper.cs b/Flow.Launcher.Infrastructure/Win32Helper.cs index 5d340c6f7..f864295c4 100644 --- a/Flow.Launcher.Infrastructure/Win32Helper.cs +++ b/Flow.Launcher.Infrastructure/Win32Helper.cs @@ -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); - } /// /// Restore window display in the Alt+Tab window list.