hide the menu when you click on a window
This commit is contained in:
parent
9f59ce18a2
commit
27d181f490
2 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -2403,10 +2403,9 @@ void FluxboxWindow::buttonPressEvent(XButtonEvent &be) {
|
|||
} else if (frame().handle() == be.window)
|
||||
raise();
|
||||
|
||||
FbTk::Menu::hideShownMenu();
|
||||
if (!m_focused && acceptsFocus() && m_click_focus) //check focus
|
||||
focus();
|
||||
|
||||
menu().hide();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue