aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkt <markt>2007-03-02 19:17:06 (GMT)
committermarkt <markt>2007-03-02 19:17:06 (GMT)
commitd6a7bd786fd657e16c1ebad5c515d60ba1368d8a (patch)
tree8422de18066453a0404b491625422db36c6e841b
parent2f63ba231cfd6bd8e3191ac0cc516c2235ef0ed2 (diff)
downloadfluxbox-d6a7bd786fd657e16c1ebad5c515d60ba1368d8a.zip
fluxbox-d6a7bd786fd657e16c1ebad5c515d60ba1368d8a.tar.bz2
add XK_KP_Enter to menu
-rw-r--r--ChangeLog2
-rw-r--r--src/FbTk/Menu.cc1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4beaed3..113c751 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
1 (Format: Year/Month/Day) 1 (Format: Year/Month/Day)
2Changes for 1.0rc3: 2Changes 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) &&