mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-03-18 03:04:39 +01:00
Win32: Ignore SC_*MENU messages (triggered on ALT and F10 and made LWJGL apps appear to hang)
This commit is contained in:
parent
096fca927d
commit
cc8cff2d42
|
|
@ -134,6 +134,9 @@ LRESULT CALLBACK lwjglWindowProc(HWND hWnd,
|
|||
case WM_SYSCOMMAND:
|
||||
{
|
||||
switch (wParam) {
|
||||
case SC_KEYMENU:
|
||||
case SC_MOUSEMENU:
|
||||
// Ignore system menu retrieval
|
||||
case SC_SCREENSAVE:
|
||||
case SC_MONITORPOWER:
|
||||
return 0L;
|
||||
|
|
|
|||
Loading…
Reference in a new issue