aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
authormarkt <markt>2007-12-11 19:29:00 (GMT)
committermarkt <markt>2007-12-11 19:29:00 (GMT)
commit474e2017454d3c6492eb9f428aee039d36d76e05 (patch)
treecae44371e3dc31d1cb3aafdd2fbf83a26527e540 /src/Window.cc
parent38877987c43857f79481bedeb036380b32019a0f (diff)
downloadfluxbox-474e2017454d3c6492eb9f428aee039d36d76e05.zip
fluxbox-474e2017454d3c6492eb9f428aee039d36d76e05.tar.bz2
only allow one open menu at a time
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 82bdc5e..2997794 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -2595,8 +2595,7 @@ void FluxboxWindow::buttonPressEvent(XButtonEvent &be) {
2595 } else if (frame().handle() == be.window) 2595 } else if (frame().handle() == be.window)
2596 raise(); 2596 raise();
2597 2597
2598 Fluxbox::instance()->hideExtraMenus(screen()); 2598 menu().hide();
2599 screen().hideWindowMenus(this);
2600 } 2599 }
2601} 2600}
2602 2601