From addb1ef43648c0b5ef348f959c83d6c94fbcc471 Mon Sep 17 00:00:00 2001 From: fluxgen <fluxgen> Date: Sat, 6 Sep 2003 15:02:41 +0000 Subject: minor fixes --- src/FbCommands.cc | 13 +------------ src/FbCommands.hh | 7 +------ 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/src/FbCommands.cc b/src/FbCommands.cc index 3affe06..11d4f78 100644 --- a/src/FbCommands.cc +++ b/src/FbCommands.cc @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: FbCommands.cc,v 1.16 2003/09/06 14:13:06 fluxgen Exp $ +// $Id: FbCommands.cc,v 1.17 2003/09/06 15:02:41 fluxgen Exp $ #include "FbCommands.hh" #include "fluxbox.hh" @@ -158,17 +158,6 @@ void ShowWorkspaceMenuCmd::execute() { } } -void ShowWorkspaceMenuCmd::execute() { - BScreen *screen = Fluxbox::instance()->mouseScreen(); - if (screen == 0) - return; - - if (screen->getWorkspacemenu()) { - screen->getWorkspacemenu()->show(); - screen->getWorkspacemenu()->grabInputFocus(); - } -} - void SetWorkspaceNameCmd::execute() { BScreen *screen = Fluxbox::instance()->mouseScreen(); diff --git a/src/FbCommands.hh b/src/FbCommands.hh index e2c8482..749d689 100644 --- a/src/FbCommands.hh +++ b/src/FbCommands.hh @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: FbCommands.hh,v 1.11 2003/09/06 14:13:06 fluxgen Exp $ +// $Id: FbCommands.hh,v 1.12 2003/09/06 15:02:41 fluxgen Exp $ // \file contains basic commands to restart, reconfigure, execute command and exit fluxbox @@ -88,11 +88,6 @@ public: void execute(); }; -class ShowWorkspaceMenuCmd: public FbTk::Command { -public: - void execute(); -}; - class SetWorkspaceNameCmd: public FbTk::Command { public: void execute(); -- cgit v0.11.2