windows: Ignore key/mouse input while menu focused.

This prevents arrow and shortcut keys from being considered inputs to the
game or UI.
This commit is contained in:
Unknown W. Brackets committed 2014-01-20 00:57:20 -08:00
1 parent 0e286d6603
commit 83eb5f05bc
3 files changed
+28

No files matched your search

+1
View File
@@ -1584,6 +1584,7 @@ namespace MainWindow
// Unfortunately, accelerate keys (hotkeys) shares the same enabled/disabled states
// with corresponding menu items.
UpdateMenus();
WindowsRawInput::NotifyMenu();
break;
// Turn off the screensaver.