aboutsummaryrefslogtreecommitdiffhomepage
path: root/events.c
diff options
context:
space:
mode:
authorGravatar Rob <rob.manea@gmail.com>2009-11-18 11:58:51 +0100
committerGravatar Rob <rob.manea@gmail.com>2009-11-18 11:58:51 +0100
commita84e3b16afb944ca11582ace8e5a6698cff35e18 (patch)
tree0fccd8401ffa4e063638c182f6c97befc28fd6e2 /events.c
parentf8ce68a83fa5133671cdd2fdde9e7a3bdeb82906 (diff)
fix <space> in key press/release
Diffstat (limited to 'events.c')
-rw-r--r--events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/events.c b/events.c
index 238441e..99e7dcb 100644
--- a/events.c
+++ b/events.c
@@ -188,7 +188,7 @@ key_to_event(guint keyval, gint mode) {
/* TODO: Pass the keyvals through a GtkIMContext so that
* we also get combining chars right
*/
- if(ukval) {
+ if(g_unichar_isgraph(ukval)) {
ulen = g_unichar_to_utf8(ukval, ucs);
ucs[ulen] = 0;