From 0ecc01d3281d9391466989c4bdf961403a435180 Mon Sep 17 00:00:00 2001 From: DB P Date: Mon, 2 Jun 2025 19:19:41 +0900 Subject: [PATCH] Remove BlockWindowMaximize method from Win32Helper --- Flow.Launcher.Infrastructure/Win32Helper.cs | 7 ------- 1 file changed, 7 deletions(-) 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.