glfwRestoreWindow

Restores the specified window.

This function restores the specified window if it was previously iconified (minimized) or maximized. If the window is already restored, this function does nothing.

If the specified window is a full screen window, the resolution chosen for the window is restored on the selected monitor.

extern (C) @nogc nothrow __gshared
void
glfwRestoreWindow

Parameters

window GLFWwindow*

The window to restore.

Errors: Possible errors include @ref GLFW_NOT_INITIALIZED and @ref GLFW_PLATFORM_ERROR.

Thread Safety

This function must only be called from the main thread.

@sa @ref window_iconify @sa @ref glfwIconifyWindow @sa @ref glfwMaximizeWindow

Meta

Since

Added in version 2.1. @glfw3 Added window handle parameter.

Ingroup: window