mirror of
https://github.com/glfw/glfw.git
synced 2025-10-04 05:36:35 +00:00
Updated readme and news for GLFW_FOCUS_ON_SHOW
This commit is contained in:
parent
a7a1c89d30
commit
26c60fd5fc
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user