summaryrefslogtreecommitdiff
path: root/openbox/translate.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-02 03:10:25 +0000
committerDana Jansens <danakj@orodu.net>2007-05-02 03:10:25 +0000
commita6f52b90551621316a36f7cd7b20ef1d5dca0782 (patch)
tree4e36ca9ab824441be3e1453893ff856924bed898 /openbox/translate.h
parentcb030c6f3a6f464cacd46d970ab28c532df84104 (diff)
better menu keyboard handling.
also, when you hit a keybinding while menus are open, it will close the menus and run the binding.
Diffstat (limited to 'openbox/translate.h')
-rw-r--r--openbox/translate.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbox/translate.h b/openbox/translate.h
index 14efe73d..21cd6498 100644
--- a/openbox/translate.h
+++ b/openbox/translate.h
@@ -26,4 +26,8 @@ gboolean translate_key(const gchar *str, guint *state, guint *keycode);
/*! Give the string form of a keycode */
const gchar *translate_keycode(guint keycode);
+
+/*! Translate a keycode to the unicode character it represents */
+gunichar translate_unichar(guint keycode);
+
#endif