aboutsummaryrefslogtreecommitdiff
path: root/backends/common/virtual-keyboard-parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/common/virtual-keyboard-parser.cpp')
-rw-r--r--backends/common/virtual-keyboard-parser.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/backends/common/virtual-keyboard-parser.cpp b/backends/common/virtual-keyboard-parser.cpp
index 8e788f53d4..7b1e79e937 100644
--- a/backends/common/virtual-keyboard-parser.cpp
+++ b/backends/common/virtual-keyboard-parser.cpp
@@ -260,6 +260,9 @@ bool VirtualKeyboardParser::parserCallback_Event() {
evt.type = VirtualKeyboard::kEventSwitchMode;
evt.data = new Common::String(evtNode->values["mode"]);
+ } else if (type == "close") {
+ evt.type = VirtualKeyboard::kEventClose;
+ evt.data = 0;
} else
return parserError("Event type '%s' not known", type.c_str());