Skip to content

Commit 0ecc01d

Browse files
committed
Remove BlockWindowMaximize method from Win32Helper
1 parent 556a4c8 commit 0ecc01d

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Flow.Launcher.Infrastructure/Win32Helper.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -162,13 +162,6 @@ public static void HideFromAltTab(Window window)
162162

163163
SetWindowStyle(hwnd, WINDOW_LONG_PTR_INDEX.GWL_EXSTYLE, (int)newExStyle);
164164
}
165-
166-
public static void BlockWindowMaximize(Window window, HwndSourceHook hook)
167-
{
168-
var handle = GetWindowHandle(window, true);
169-
var hwndSource = HwndSource.FromHwnd(handle);
170-
hwndSource.AddHook(hook);
171-
}
172165

173166
/// <summary>
174167
/// Restore window display in the Alt+Tab window list.

0 commit comments

Comments
 (0)