diff options
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); |