diff options
author | markt <markt> | 2007-03-02 19:17:06 (GMT) |
---|---|---|
committer | markt <markt> | 2007-03-02 19:17:06 (GMT) |
commit | d6a7bd786fd657e16c1ebad5c515d60ba1368d8a (patch) | |
tree | 8422de18066453a0404b491625422db36c6e841b | |
parent | 2f63ba231cfd6bd8e3191ac0cc516c2235ef0ed2 (diff) | |
download | fluxbox_pavel-d6a7bd786fd657e16c1ebad5c515d60ba1368d8a.zip fluxbox_pavel-d6a7bd786fd657e16c1ebad5c515d60ba1368d8a.tar.bz2 |
add XK_KP_Enter to menu
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | src/FbTk/Menu.cc | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -1,5 +1,7 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 1.0rc3: | 2 | Changes for 1.0rc3: |
3 | * Added support for keypad enter key in menu (Mark) | ||
4 | FbTk/Menu.cc | ||
3 | *07/02/28: | 5 | *07/02/28: |
4 | * Fixed some strange menu behaviors (Mark) | 6 | * Fixed some strange menu behaviors (Mark) |
5 | FbTk/Menu.cc/hh | 7 | FbTk/Menu.cc/hh |
diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc index cb401fa..e72b750 100644 --- a/src/FbTk/Menu.cc +++ b/src/FbTk/Menu.cc | |||
@@ -1038,6 +1038,7 @@ void Menu::keyPressEvent(XKeyEvent &event) { | |||
1038 | case XK_Escape: // close menu | 1038 | case XK_Escape: // close menu |
1039 | hide(); | 1039 | hide(); |
1040 | break; | 1040 | break; |
1041 | case XK_KP_Enter: | ||
1041 | case XK_Return: | 1042 | case XK_Return: |
1042 | // send fake button 1 click | 1043 | // send fake button 1 click |
1043 | if (validIndex(m_active_index) && | 1044 | if (validIndex(m_active_index) && |