diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-02 03:10:25 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-02 03:10:25 +0000 |
| commit | a6f52b90551621316a36f7cd7b20ef1d5dca0782 (patch) | |
| tree | 4e36ca9ab824441be3e1453893ff856924bed898 /openbox/translate.h | |
| parent | cb030c6f3a6f464cacd46d970ab28c532df84104 (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.h | 4 |
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 |
