Add GLFW_COCOA_FRAME_AUTOSAVE

Fixes #195.
This commit is contained in:
Camilla Löwy
2017-01-01 19:41:50 +01:00
parent 0f488ac286
commit 4661315192
6 changed files with 20 additions and 0 deletions
+6
View File
@@ -830,6 +830,7 @@ extern "C" {
#define GLFW_CONTEXT_CREATION_API 0x0002200B
#define GLFW_COCOA_RETINA_FRAMEBUFFER 0x00023001
#define GLFW_COCOA_FRAME_AUTOSAVE 0x00023002
/*! @} */
#define GLFW_NO_API 0
@@ -2037,6 +2038,11 @@ GLFWAPI void glfwWindowHint(int hint, int value);
* a custom `Info.plist` template for this, which can be found as
* `CMake/MacOSXBundleInfo.plist.in` in the source tree.
*
* @remark @macos When activating frame autosaving with
* [GLFW_COCOA_FRAME_AUTOSAVE](@ref GLFW_COCOA_FRAME_AUTOSAVE_hint), the
* specified window size may be overriden by a previously saved size and
* position.
*
* @remark @x11 Some window managers will not respect the placement of
* initially hidden windows.
*