summaryrefslogtreecommitdiff
path: root/obt
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2010-02-11 15:15:01 -0500
committerDana Jansens <danakj@orodu.net>2010-02-11 15:15:01 -0500
commit35ce211ec3ba025b67b5b91ecf10c1b1b2294a43 (patch)
tree48933722e5b08db247fd7dd45f6140b0cad09219 /obt
parent096dad0c6c027100494ede811b33cb8558d32e25 (diff)
dont print warnings when reading keys which dont generate text
Diffstat (limited to 'obt')
-rw-r--r--obt/keyboard.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/obt/keyboard.c b/obt/keyboard.c
index 5e218429..57208aa2 100644
--- a/obt/keyboard.c
+++ b/obt/keyboard.c
@@ -331,6 +331,9 @@ gunichar obt_keyboard_keypress_to_unichar(ObtIC *ic, XEvent *ev)
got_string = TRUE;
}
}
+ else if (status == XLookupKeySym)
+ /* this key doesn't have a text representation, it is a command
+ key of some sort */;
else
g_message("Bad keycode lookup. Keysym 0x%x Status: %s\n",
(guint) sym,