mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 08:50:15 +00:00
Fixed iconify and activation for fullscreen windows.
This commit is contained in:
Regular → Executable
+9
-3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user