mirror of
https://github.com/glfw/glfw.git
synced 2026-09-21 00:30:57 +00:00
Win32: Fix screensaver and blanking prevention
On Vista and later, Handling WM_SYSCOMMAND is not enough to prevent password protected screensavers or monitor blanking. Fixes #851.
This commit is contained in:
@@ -248,6 +248,7 @@ typedef struct _GLFWlibraryWin32
|
||||
{
|
||||
HWND helperWindowHandle;
|
||||
DWORD foregroundLockTimeout;
|
||||
int acquiredMonitorCount;
|
||||
char* clipboardString;
|
||||
char keyName[64];
|
||||
short int keycodes[512];
|
||||
|
||||
Reference in New Issue
Block a user