diff options
author | fluxgen <fluxgen> | 2003-09-06 15:02:41 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-09-06 15:02:41 (GMT) |
commit | addb1ef43648c0b5ef348f959c83d6c94fbcc471 (patch) | |
tree | d73864f219fe032bf50335819bb7925d0052ed97 | |
parent | 6e9130b2ad2fcbca102d2baffff05a8c8d7b7d5a (diff) | |
download | fluxbox_paul-addb1ef43648c0b5ef348f959c83d6c94fbcc471.zip fluxbox_paul-addb1ef43648c0b5ef348f959c83d6c94fbcc471.tar.bz2 |
minor fixes
-rw-r--r-- | src/FbCommands.cc | 13 | ||||
-rw-r--r-- | 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 @@ | |||
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 | ||
161 | void 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 | |||
172 | void SetWorkspaceNameCmd::execute() { | 161 | void 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 | ||
91 | class ShowWorkspaceMenuCmd: public FbTk::Command { | ||
92 | public: | ||
93 | void execute(); | ||
94 | }; | ||
95 | |||
96 | class SetWorkspaceNameCmd: public FbTk::Command { | 91 | class SetWorkspaceNameCmd: public FbTk::Command { |
97 | public: | 92 | public: |
98 | void execute(); | 93 | void execute(); |