From fca5a0ad340da0fd0fd86d00f2c4cedbfd7a3ab8 Mon Sep 17 00:00:00 2001 From: Stephen Kennedy Date: Fri, 15 Aug 2008 01:21:29 +0000 Subject: Virtual Keyboard: * added support for submit, cancel, backspace, and cursor movement commands * minor API modifications svn-id: r33887 --- backends/events/default/default-events.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backends/events') 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); -- cgit v1.2.3