mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Remove BlockWindowMaximize method from Win32Helper
This commit is contained in:
parent
556a4c881c
commit
0ecc01d328
1 changed files with 0 additions and 7 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue