diff options
author | markt <markt> | 2007-12-11 19:29:00 (GMT) |
---|---|---|
committer | markt <markt> | 2007-12-11 19:29:00 (GMT) |
commit | 474e2017454d3c6492eb9f428aee039d36d76e05 (patch) | |
tree | cae44371e3dc31d1cb3aafdd2fbf83a26527e540 /src/Window.cc | |
parent | 38877987c43857f79481bedeb036380b32019a0f (diff) | |
download | fluxbox_pavel-474e2017454d3c6492eb9f428aee039d36d76e05.zip fluxbox_pavel-474e2017454d3c6492eb9f428aee039d36d76e05.tar.bz2 |
only allow one open menu at a time
Diffstat (limited to 'src/Window.cc')
-rw-r--r-- | src/Window.cc | 3 |
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 | ||