diff options
Diffstat (limited to 'src/FbTk')
-rw-r--r-- | src/FbTk/Menu.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc index 6f997a5..a3b7793 100644 --- a/src/FbTk/Menu.cc +++ b/src/FbTk/Menu.cc | |||
@@ -1002,7 +1002,7 @@ void Menu::motionNotifyEvent(XMotionEvent &me) { | |||
1002 | } | 1002 | } |
1003 | 1003 | ||
1004 | if (itmp->submenu()) { // start submenu open delay | 1004 | if (itmp->submenu()) { // start submenu open delay |
1005 | m_submenu_timer.setTimeout(0, theme()->getDelay() * 1000); | 1005 | m_submenu_timer.setTimeout(theme()->getDelay()); |
1006 | m_submenu_timer.start(); | 1006 | m_submenu_timer.start(); |
1007 | } else if (isItemSelectable(w)){ | 1007 | } else if (isItemSelectable(w)){ |
1008 | // else normal menu item | 1008 | // else normal menu item |
@@ -1221,7 +1221,7 @@ void Menu::closeMenu() { | |||
1221 | } | 1221 | } |
1222 | 1222 | ||
1223 | void Menu::startHide() { | 1223 | void Menu::startHide() { |
1224 | m_hide_timer.setTimeout(theme()->getDelay() * 1000); | 1224 | m_hide_timer.setTimeout(theme()->getDelay()); |
1225 | m_hide_timer.start(); | 1225 | m_hide_timer.start(); |
1226 | } | 1226 | } |
1227 | 1227 | ||