handle alt+space (windows system menu)
This commit is contained in:
parent
02d119d76e
commit
26a040a7d2
|
@ -715,6 +715,10 @@ final class WindowsDisplay implements DisplayImplementation {
|
||||||
return true;
|
return true;
|
||||||
case WM_SYSKEYDOWN: /* Fall through */
|
case WM_SYSKEYDOWN: /* Fall through */
|
||||||
case WM_SYSKEYUP: /* Fall through */
|
case WM_SYSKEYUP: /* Fall through */
|
||||||
|
// handle alt+space (activates the system window menu, just gobble it up)
|
||||||
|
if(wParam == WindowsKeycodes.VK_SPACE) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
case WM_KEYUP:
|
case WM_KEYUP:
|
||||||
// SysRq apparently only generates WM_KEYUP, so we'll fake a WM_KEYDOWN
|
// SysRq apparently only generates WM_KEYUP, so we'll fake a WM_KEYDOWN
|
||||||
if (wParam == WindowsKeycodes.VK_SNAPSHOT && keyboard != null &&
|
if (wParam == WindowsKeycodes.VK_SNAPSHOT && keyboard != null &&
|
||||||
|
|
Loading…
Reference in New Issue