mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 06:25:46 +00:00
Windows: Correct testing of wParam when a WM_SYSCOMMAND is received
This commit is contained in:
parent
176a617393
commit
3899e6828f
1 changed files with 1 additions and 1 deletions
|
|
@ -565,7 +565,7 @@ final class WindowsDisplay implements DisplayImplementation {
|
|||
close_requested = true;
|
||||
return true;
|
||||
case WM_SYSCOMMAND:
|
||||
switch ((int)wParam) {
|
||||
switch ((int)(wParam & 0xfff0)) {
|
||||
case SC_KEYMENU:
|
||||
case SC_MOUSEMENU:
|
||||
case SC_SCREENSAVE:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue