diff options
Diffstat (limited to 'gui/terminal.cpp')
-rw-r--r-- | gui/terminal.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/terminal.cpp b/gui/terminal.cpp index 00b7820a5..044782e4e 100644 --- a/gui/terminal.cpp +++ b/gui/terminal.cpp @@ -833,6 +833,8 @@ int GUITerminal::NotifyTouch(TOUCH_STATE state, int x, int y) int GUITerminal::NotifyKey(int key, bool down) { + if (!HasInputFocus) + return 1; if (down) if (engine->inputKey(key)) mUpdate = 1; |