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/ToolFactory.cc | |
parent | 38877987c43857f79481bedeb036380b32019a0f (diff) | |
download | fluxbox_lack-474e2017454d3c6492eb9f428aee039d36d76e05.zip fluxbox_lack-474e2017454d3c6492eb9f428aee039d36d76e05.tar.bz2 |
only allow one open menu at a time
Diffstat (limited to 'src/ToolFactory.cc')
-rw-r--r-- | src/ToolFactory.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ToolFactory.cc b/src/ToolFactory.cc index ee1316a..3fa8714 100644 --- a/src/ToolFactory.cc +++ b/src/ToolFactory.cc | |||
@@ -50,7 +50,6 @@ class ShowMenuAboveToolbar: public FbTk::Command { | |||
50 | public: | 50 | public: |
51 | explicit ShowMenuAboveToolbar(Toolbar &tbar):m_tbar(tbar) { } | 51 | explicit ShowMenuAboveToolbar(Toolbar &tbar):m_tbar(tbar) { } |
52 | void execute() { | 52 | void execute() { |
53 | m_tbar.screen().hideMenus(); | ||
54 | // get last button pos | 53 | // get last button pos |
55 | const XEvent &event = Fluxbox::instance()->lastEvent(); | 54 | const XEvent &event = Fluxbox::instance()->lastEvent(); |
56 | int head = m_tbar.screen().getHead(event.xbutton.x_root, event.xbutton.y_root); | 55 | int head = m_tbar.screen().getHead(event.xbutton.x_root, event.xbutton.y_root); |