diff options
author | Eugene Sandulenko | 2017-08-22 09:16:06 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-08-22 10:25:00 +0200 |
commit | a7dbacb5c32b04ca5ffe59667ba12e5f76a5ec59 (patch) | |
tree | 24fca077cf874611386f57ea09b56d9f420997af /graphics | |
parent | 5e9b72fbd918c3a8e977ed4c8d51d5b060cdc4c7 (diff) | |
download | scummvm-rg350-a7dbacb5c32b04ca5ffe59667ba12e5f76a5ec59.tar.gz scummvm-rg350-a7dbacb5c32b04ca5ffe59667ba12e5f76a5ec59.tar.bz2 scummvm-rg350-a7dbacb5c32b04ca5ffe59667ba12e5f76a5ec59.zip |
GRAPHICS: MACGUI: Ignore keys with modifiers in MacTextWindow
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/macgui/mactextwindow.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/macgui/mactextwindow.cpp b/graphics/macgui/mactextwindow.cpp index 85a07b975e..4818b5b4aa 100644 --- a/graphics/macgui/mactextwindow.cpp +++ b/graphics/macgui/mactextwindow.cpp @@ -279,6 +279,10 @@ bool MacTextWindow::processEvent(Common::Event &event) { if (event.type == Common::EVENT_KEYDOWN) { _wm->setActive(getId()); + if (event.kbd.flags & (Common::KBD_ALT | Common::KBD_CTRL | Common::KBD_META)) { + return false; + } + switch (event.kbd.keycode) { case Common::KEYCODE_BACKSPACE: if (!_inputText.empty()) { |