CHANGE: Updated changelog and guide doc

This commit is contained in:
Carsten Tewes 2022-11-20 15:14:28 +01:00
parent 577f9f9e62
commit 5cdc469a86
2 changed files with 15 additions and 0 deletions

View File

@ -121,6 +121,8 @@ information on what to include when reporting a bug.
## Changelog ## Changelog
- Added `glfwGetMonitorFromWindow` function to query the monitor where the
largest part of a window is currently located (#1699)
- Added `GLFW_PLATFORM` init hint for runtime platform selection (#1958) - Added `GLFW_PLATFORM` init hint for runtime platform selection (#1958)
- Added `GLFW_ANY_PLATFORM`, `GLFW_PLATFORM_WIN32`, `GLFW_PLATFORM_COCOA`, - Added `GLFW_ANY_PLATFORM`, `GLFW_PLATFORM_WIN32`, `GLFW_PLATFORM_COCOA`,
`GLFW_PLATFORM_WAYLAND`, `GLFW_PLATFORM_X11` and `GLFW_PLATFORM_NULL` symbols to `GLFW_PLATFORM_WAYLAND`, `GLFW_PLATFORM_X11` and `GLFW_PLATFORM_NULL` symbols to

View File

@ -907,6 +907,19 @@ glfwSetWindowIcon(window, 0, NULL);
@endcode @endcode
@subsection window_monitor_from Window monitor
Windows are always located on one or more monitors. You can get the
handle for the monitor were the biggest part of a specified window is
currently located with @ref glfwGetMonitorFromWindow
@code
GLFWmonitor* monitor = glfwGetMonitorFromWindow(window);
@endcode
This monitor handle is one of those returned by @ref glfwGetMonitors.
@subsection window_monitor Window monitor @subsection window_monitor Window monitor
Full screen windows are associated with a specific monitor. You can get the Full screen windows are associated with a specific monitor. You can get the