diff options
author | markt <markt> | 2007-02-27 17:46:48 (GMT) |
---|---|---|
committer | markt <markt> | 2007-02-27 17:46:48 (GMT) |
commit | 3503f75903207e8bc658559fb3df46ea0de55004 (patch) | |
tree | 2a5e634eece3fd8d74a9392b7c142ca4b55cbb10 /src/FbTk | |
parent | 8ce203c9497519771c079ff0a3c30135dc0ac53a (diff) | |
download | fluxbox_paul-3503f75903207e8bc658559fb3df46ea0de55004.zip fluxbox_paul-3503f75903207e8bc658559fb3df46ea0de55004.tar.bz2 |
lots of unrelated fixes
Diffstat (limited to 'src/FbTk')
-rw-r--r-- | src/FbTk/Menu.cc | 4 |
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; |