Fixed iconify and activation for fullscreen windows.

This commit is contained in:
Camilla Berglund
2010-09-19 01:24:51 +02:00
parent a7a5e1091b
commit 2631d0e8e0
3 changed files with 72 additions and 94 deletions
Regular → Executable
+9 -3
View File
@@ -317,9 +317,6 @@ typedef struct _GLFWwindowWin32
DWORD dwExStyle; // --"--
// Various platform specific internal variables
int oldMouseLock; // Old mouse-lock flag (used for remembering
// mouse-lock state when iconifying)
int oldMouseLockValid;
int desiredRefreshRate; // Desired vertical monitor refresh rate
int mouseMoved;
int oldMouseX, oldMouseY;
@@ -336,6 +333,15 @@ typedef struct _GLFWlibraryWin32
HHOOK keyboardHook; // Keyboard hook handle
DWORD foregroundLockTimeout;
// Default monitor
struct {
int modeChanged;
int width;
int height;
int bitsPerPixel;
int refreshRate;
} monitor;
// Timer data
struct {
int hasPerformanceCounter;