diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | src/Window.cc | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -1,6 +1,8 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 1.1.2 | 2 | Changes for 1.1.2 |
3 | *09/06/28: | 3 | *09/06/28: |
4 | * Hide the menu when you click on a window (Mark) | ||
5 | Window.cc | ||
4 | * Make Raise/LowerLayer commands accept integer argument, defualt 2 (Mark) | 6 | * Make Raise/LowerLayer commands accept integer argument, defualt 2 (Mark) |
5 | CurrentWindowCmd.cc/hh Window.cc/hh | 7 | CurrentWindowCmd.cc/hh Window.cc/hh |
6 | * Change default toolbar head to 1 (Mark) | 8 | * Change default toolbar head to 1 (Mark) |
diff --git a/src/Window.cc b/src/Window.cc index defa6cc..d38fb8a 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -2403,10 +2403,9 @@ void FluxboxWindow::buttonPressEvent(XButtonEvent &be) { | |||
2403 | } else if (frame().handle() == be.window) | 2403 | } else if (frame().handle() == be.window) |
2404 | raise(); | 2404 | raise(); |
2405 | 2405 | ||
2406 | FbTk::Menu::hideShownMenu(); | ||
2406 | if (!m_focused && acceptsFocus() && m_click_focus) //check focus | 2407 | if (!m_focused && acceptsFocus() && m_click_focus) //check focus |
2407 | focus(); | 2408 | focus(); |
2408 | |||
2409 | menu().hide(); | ||
2410 | } | 2409 | } |
2411 | } | 2410 | } |
2412 | 2411 | ||