Updated readme and news for GLFW_FOCUS_ON_SHOW

This commit is contained in:
Doug Binks 2018-05-23 14:44:49 +01:00
parent a7a1c89d30
commit 26c60fd5fc
3 changed files with 11 additions and 2 deletions

View File

@ -124,6 +124,8 @@ information on what to include when reporting a bug.
## Changelog
- Added `GLFW_FOCUS_ON_SHOW` window hint and attribute to control input focus
on calling show window (#1189)
- Added `glfwGetError` function for querying the last error code and its
description (#970)
- Added `glfwUpdateGamepadMappings` function for importing gamepad mappings in

View File

@ -4,6 +4,12 @@
@section news_33 Release notes for 3.3
@subsection news_33_focusonshow GLFW_FOCUS_ON_SHOW window hint and attribute
GLFW now supports the [GLFW_FOCUS_ON_SHOW](@ref GLFW_DECORATED_hint) window hint
and attribute for controlling input focus when calling @ref glfwShowWindow
@see @ref window_hide
@subsection news_33_geterror Error query

View File

@ -3092,8 +3092,9 @@ GLFWAPI void glfwMaximizeWindow(GLFWwindow* window);
* function does nothing.
*
* By default, windowed mode windows are focused when shown
* Set the [GLFW_FOCUS_ON_SHOW](@ref GLFW_FOCUS_ON_SHOW_hint) to
* change this behavior.
* Set the [GLFW_FOCUS_ON_SHOW](@ref GLFW_FOCUS_ON_SHOW_hint) window hint
* to change this behavior for all newly created windows, or change the
* behaviour for an existing window with @ref glfwSetWindowAttrib.
*
* @param[in] window The window to make visible.
*