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:
Camilla Löwy
2017-02-09 21:21:58 +01:00
parent 366b90be1a
commit 355b46e6c5
3 changed files with 12 additions and 0 deletions
+1
View File
@@ -248,6 +248,7 @@ typedef struct _GLFWlibraryWin32
{
HWND helperWindowHandle;
DWORD foregroundLockTimeout;
int acquiredMonitorCount;
char* clipboardString;
char keyName[64];
short int keycodes[512];