aboutsummaryrefslogtreecommitdiff
path: root/src/FbCommands.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-09-06 15:02:41 (GMT)
committerfluxgen <fluxgen>2003-09-06 15:02:41 (GMT)
commitaddb1ef43648c0b5ef348f959c83d6c94fbcc471 (patch)
treed73864f219fe032bf50335819bb7925d0052ed97 /src/FbCommands.cc
parent6e9130b2ad2fcbca102d2baffff05a8c8d7b7d5a (diff)
downloadfluxbox_pavel-addb1ef43648c0b5ef348f959c83d6c94fbcc471.zip
fluxbox_pavel-addb1ef43648c0b5ef348f959c83d6c94fbcc471.tar.bz2
minor fixes
Diffstat (limited to 'src/FbCommands.cc')
-rw-r--r--src/FbCommands.cc13
1 files changed, 1 insertions, 12 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();