summaryrefslogtreecommitdiffstats
path: root/client/application.cpp
diff options
context:
space:
mode:
authorYaniv Kamay <ykamay@redhat.com>2009-11-21 19:28:59 +0200
committerYaniv Kamay <ykamay@redhat.com>2009-11-30 18:22:13 +0200
commit6c5966d8ed8ff248ca21900aaf2350aac87f68e4 (patch)
treea210b657ee7f2815aeabad400b9bfa946cde50fb /client/application.cpp
parent81241dd8251078fb049d35b7bc8a6c4dcfb6fa98 (diff)
downloadspice-6c5966d8ed8ff248ca21900aaf2350aac87f68e4.tar.gz
spice-6c5966d8ed8ff248ca21900aaf2350aac87f68e4.tar.xz
spice-6c5966d8ed8ff248ca21900aaf2350aac87f68e4.zip
client: KeyHandler now receive unicode char event in addition to RedKey events
Diffstat (limited to 'client/application.cpp')
-rw-r--r--client/application.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/client/application.cpp b/client/application.cpp
index 943fb3b7..8345f390 100644
--- a/client/application.cpp
+++ b/client/application.cpp
@@ -907,7 +907,12 @@ void Application::on_key_up(RedKey key)
}
do_on_key_up(key);
- }
+}
+
+void Application::on_char(uint32_t ch)
+{
+ _key_handler->on_char(ch);
+}
void Application::on_deactivate_screen(RedScreen* screen)
{