1// SPDX-FileCopyrightText: 2019-2025 Connor McLaughlin <[email protected]> 2// SPDX-License-Identifier: CC-BY-NC-ND-4.0 3 4#pragma once 5 6#include "common/windows_headers.h" 7 8namespace Win32WindowUtil { 9 10/// Centers a window on the monitor where the mouse cursor is currently located. 11/// Should be called before ShowWindow(). 12void CenterWindowOnMonitorAtCursorPosition(HWND hwnd); 13 14} // namespace Win32WindowUtil 15 16