aboutsummaryrefslogtreecommitdiff
path: root/backends/events
diff options
context:
space:
mode:
authorStephen Kennedy2008-08-15 01:21:29 +0000
committerStephen Kennedy2008-08-15 01:21:29 +0000
commitfca5a0ad340da0fd0fd86d00f2c4cedbfd7a3ab8 (patch)
treef57263837df4ddd870db26d66d6c62ddc4cd83ce /backends/events
parentc61294e70f6a6acc67efdad1529038f06ea1a5e6 (diff)
downloadscummvm-rg350-fca5a0ad340da0fd0fd86d00f2c4cedbfd7a3ab8.tar.gz
scummvm-rg350-fca5a0ad340da0fd0fd86d00f2c4cedbfd7a3ab8.tar.bz2
scummvm-rg350-fca5a0ad340da0fd0fd86d00f2c4cedbfd7a3ab8.zip
Virtual Keyboard:
* added support for submit, cancel, backspace, and cursor movement commands * minor API modifications svn-id: r33887
Diffstat (limited to 'backends/events')
-rw-r--r--backends/events/default/default-events.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/events/default/default-events.cpp b/backends/events/default/default-events.cpp
index af8f9fa231..aad8fee4fc 100644
--- a/backends/events/default/default-events.cpp
+++ b/backends/events/default/default-events.cpp
@@ -421,7 +421,7 @@ bool DefaultEventManager::pollEvent(Common::Event &event) {
// HACK to show/hide keyboard (keyboard is not shown if gui is active)
if (event.kbd.keycode == Common::KEYCODE_F6 && event.kbd.flags == 0) {
if (_vk->isDisplaying()) {
- _vk->hide();
+ _vk->close(true);
} else {
bool isPaused = (g_engine) ? g_engine->isPaused() : true;
if (!isPaused) g_engine->pauseEngine(true);