summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/FbCommands.cc13
-rw-r--r--src/FbCommands.hh7
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 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: FbCommands.cc,v 1.16 2003/09/06 14:13:06 fluxgen Exp $ 22// $Id: FbCommands.cc,v 1.17 2003/09/06 15:02:41 fluxgen Exp $
23 23
24#include "FbCommands.hh" 24#include "FbCommands.hh"
25#include "fluxbox.hh" 25#include "fluxbox.hh"
@@ -158,17 +158,6 @@ void ShowWorkspaceMenuCmd::execute() {
158 } 158 }
159} 159}
160 160
161void ShowWorkspaceMenuCmd::execute() {
162 BScreen *screen = Fluxbox::instance()->mouseScreen();
163 if (screen == 0)
164 return;
165
166 if (screen->getWorkspacemenu()) {
167 screen->getWorkspacemenu()->show();
168 screen->getWorkspacemenu()->grabInputFocus();
169 }
170}
171
172void SetWorkspaceNameCmd::execute() { 161void SetWorkspaceNameCmd::execute() {
173 162
174 BScreen *screen = Fluxbox::instance()->mouseScreen(); 163 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 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: FbCommands.hh,v 1.11 2003/09/06 14:13:06 fluxgen Exp $ 22// $Id: FbCommands.hh,v 1.12 2003/09/06 15:02:41 fluxgen Exp $
23 23
24// \file contains basic commands to restart, reconfigure, execute command and exit fluxbox 24// \file contains basic commands to restart, reconfigure, execute command and exit fluxbox
25 25
@@ -88,11 +88,6 @@ public:
88 void execute(); 88 void execute();
89}; 89};
90 90
91class ShowWorkspaceMenuCmd: public FbTk::Command {
92public:
93 void execute();
94};
95
96class SetWorkspaceNameCmd: public FbTk::Command { 91class SetWorkspaceNameCmd: public FbTk::Command {
97public: 92public:
98 void execute(); 93 void execute();