Added GLFW_AUTO_ICONIFY.

By default, full screen windows that lose focus will be iconified and
the video mode will be restored.  This makes it impossible to create
applications spanning multiple monitors.  The GLFW_AUTO_ICONIFY window
hint will allow users to disable this behavior.

Fixes #143.
This commit is contained in:
Camilla Berglund
2014-04-08 15:32:34 +02:00
parent 4fb5da75dc
commit 25e7ff1196
7 changed files with 43 additions and 18 deletions
+3
View File
@@ -152,6 +152,7 @@ struct _GLFWwndconfig
GLboolean resizable;
GLboolean visible;
GLboolean decorated;
GLboolean autoIconify;
_GLFWmonitor* monitor;
};
@@ -215,6 +216,7 @@ struct _GLFWwindow
GLboolean iconified;
GLboolean resizable;
GLboolean decorated;
GLboolean autoIconify;
GLboolean visible;
GLboolean closed;
void* userPointer;
@@ -319,6 +321,7 @@ struct _GLFWlibrary
GLboolean resizable;
GLboolean visible;
GLboolean decorated;
GLboolean autoIconify;
int samples;
GLboolean sRGB;
int refreshRate;