From a6f52b90551621316a36f7cd7b20ef1d5dca0782 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 2 May 2007 03:10:25 +0000 Subject: better menu keyboard handling. also, when you hit a keybinding while menus are open, it will close the menus and run the binding. --- openbox/translate.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'openbox/translate.h') 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 -- cgit v1.2.3