diff --git a/v2/internal/frontend/desktop/windows/win32/window.go b/v2/internal/frontend/desktop/windows/win32/window.go index 97c782f83..1d6c9438c 100644 --- a/v2/internal/frontend/desktop/windows/win32/window.go +++ b/v2/internal/frontend/desktop/windows/win32/window.go @@ -13,7 +13,6 @@ import ( ) const ( - WS_MINIMIZE = 0x20000000 WS_MAXIMIZE = 0x01000000 WS_MINIMIZE = 0x20000000 @@ -143,11 +142,6 @@ func SetBackgroundColour(hwnd uintptr, r, g, b uint8) { setClassLongPtr(hwnd, GCLP_HBRBACKGROUND, hbrush) } -func IsWindowMinimised(hwnd uintptr) bool { - style := uint32(getWindowLong(hwnd, GWL_STYLE)) - return style&WS_MINIMIZE != 0 -} - func IsWindowNormal(hwnd uintptr) bool { return !IsWindowMaximised(hwnd) && !IsWindowMinimised(hwnd) && !IsWindowFullScreen(hwnd) }