aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk
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 /src/FbTk
parent2f63ba231cfd6bd8e3191ac0cc516c2235ef0ed2 (diff)
downloadfluxbox_pavel-d6a7bd786fd657e16c1ebad5c515d60ba1368d8a.zip
fluxbox_pavel-d6a7bd786fd657e16c1ebad5c515d60ba1368d8a.tar.bz2
add XK_KP_Enter to menu
Diffstat (limited to 'src/FbTk')
-rw-r--r--src/FbTk/Menu.cc1
1 files changed, 1 insertions, 0 deletions
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) &&