Win32: Remove changing the foreground lock timeout

It's rude to ignore the foreground lock timeout, especially by default.

Discussion of this code and its removal:
https://discourse.glfw.org/t/why-is-spi-setforegroundlocktimeout-set-to-zero-on-glfwinit-win32
This commit is contained in:
Camilla Löwy
2021-08-02 21:42:36 +02:00
parent 201400b974
commit 58b48a3a00
3 changed files with 1 additions and 14 deletions

View File

@@ -330,7 +330,6 @@ typedef struct _GLFWlibraryWin32
{
HWND helperWindowHandle;
HDEVNOTIFY deviceNotificationHandle;
DWORD foregroundLockTimeout;
int acquiredMonitorCount;
char* clipboardString;
short int keycodes[512];