aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2009-06-28 19:34:34 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2009-06-28 19:34:34 (GMT)
commit27d181f490fc7ec0b5d1d6612545c2acd9dd2921 (patch)
tree65176019f8103a87d9415dc9646960a473362474 /src
parent9f59ce18a21c8544d996235787ff1d7a6557153d (diff)
downloadfluxbox-27d181f490fc7ec0b5d1d6612545c2acd9dd2921.zip
fluxbox-27d181f490fc7ec0b5d1d6612545c2acd9dd2921.tar.bz2
hide the menu when you click on a window
Diffstat (limited to 'src')
-rw-r--r--src/Window.cc3
1 files changed, 1 insertions, 2 deletions
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