def restore(hwnd): """ Restores (unmaximizes) the window. Args: hwnd (int): The window handler. """ wg.ShowWindow(hwnd, wc.SW_RESTORE)