summaryrefslogtreecommitdiffstats
path: root/aura/desktop.cc
diff options
context:
space:
mode:
Diffstat (limited to 'aura/desktop.cc')
-rw-r--r--aura/desktop.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/aura/desktop.cc b/aura/desktop.cc
index 2bac955..b0ffbad1 100644
--- a/aura/desktop.cc
+++ b/aura/desktop.cc
@@ -52,6 +52,10 @@ bool Desktop::OnMouseEvent(const MouseEvent& event) {
return window_->HandleMouseEvent(event);
}
+bool Desktop::OnKeyEvent(const KeyEvent& event) {
+ return window_->HandleKeyEvent(event);
+}
+
// static
Desktop* Desktop::GetInstance() {
if (!instance_) {