aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
authormarkt <markt>2007-02-27 17:46:48 (GMT)
committermarkt <markt>2007-02-27 17:46:48 (GMT)
commit3503f75903207e8bc658559fb3df46ea0de55004 (patch)
tree2a5e634eece3fd8d74a9392b7c142ca4b55cbb10 /src/FbTk
parent8ce203c9497519771c079ff0a3c30135dc0ac53a (diff)
downloadfluxbox-3503f75903207e8bc658559fb3df46ea0de55004.zip
fluxbox-3503f75903207e8bc658559fb3df46ea0de55004.tar.bz2
lots of unrelated fixes
Diffstat (limited to 'src/FbTk')
-rw-r--r--src/FbTk/Menu.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc
index b5536f7..138eaf4 100644
--- a/src/FbTk/Menu.cc
+++ b/src/FbTk/Menu.cc
@@ -965,6 +965,10 @@ void Menu::motionNotifyEvent(XMotionEvent &me) {
965 if (w == m_active_index) 965 if (w == m_active_index)
966 return; 966 return;
967 967
968 // if another menu is focused, change focus to this one, so arrow keys
969 // work as expected
970 if (s_focused != this && s_focused != 0)
971 grabInputFocus();
968 972
969 if (validIndex(m_active_index) && w != m_active_index) { 973 if (validIndex(m_active_index) && w != m_active_index) {
970 int old_active_index = m_active_index; 974 int old_active_index = m_active_index;