From 6cf28915fb519a78d24ee4fc820c814bec5662b2 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sun, 11 Jan 2004 16:09:50 +0000 Subject: hide menus --- src/ToolFactory.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ToolFactory.cc b/src/ToolFactory.cc index 522c339..5383ed2 100644 --- a/src/ToolFactory.cc +++ b/src/ToolFactory.cc @@ -1,5 +1,5 @@ // ToolFactory.cc for Fluxbox -// Copyright (c) 2003 Henrik Kinnunen (fluxgen at users.sourceforge.net) +// Copyright (c) 2003-2004 Henrik Kinnunen (fluxgen at users.sourceforge.net) // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the "Software"), @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: ToolFactory.cc,v 1.2 2003/12/04 23:02:23 fluxgen Exp $ +// $Id: ToolFactory.cc,v 1.3 2004/01/11 16:09:50 fluxgen Exp $ #include "ToolFactory.hh" @@ -48,7 +48,7 @@ class ShowMenuAboveToolbar: public FbTk::Command { public: explicit ShowMenuAboveToolbar(Toolbar &tbar):m_tbar(tbar) { } void execute() { - + m_tbar.screen().hideMenus(); // get last button pos const XEvent &event = Fluxbox::instance()->lastEvent(); int x = event.xbutton.x_root - (m_tbar.menu().width() / 2); -- cgit v0.11.2