hide the menu when you click on a window
Mark Tiefenbruck mark@fluxbox.org
2 files changed,
3 insertions(+),
2 deletions(-)
M
ChangeLog
→
ChangeLog
@@ -1,6 +1,8 @@
(Format: Year/Month/Day) Changes for 1.1.2 *09/06/28: + * Hide the menu when you click on a window (Mark) + Window.cc * Make Raise/LowerLayer commands accept integer argument, defualt 2 (Mark) CurrentWindowCmd.cc/hh Window.cc/hh * Change default toolbar head to 1 (Mark)
M
src/Window.cc
→
src/Window.cc
@@ -2403,10 +2403,9 @@ m_button_grab_y = be.y_root - frame().y() - frame().window().borderWidth();
} else if (frame().handle() == be.window) raise(); + FbTk::Menu::hideShownMenu(); if (!m_focused && acceptsFocus() && m_click_focus) //check focus focus(); - - menu().hide(); } }