diff options
Diffstat (limited to 'src/WorkspaceCmd.cc')
-rw-r--r-- | src/WorkspaceCmd.cc | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/WorkspaceCmd.cc b/src/WorkspaceCmd.cc index f8f39da..45bf7a2 100644 --- a/src/WorkspaceCmd.cc +++ b/src/WorkspaceCmd.cc | |||
@@ -20,7 +20,7 @@ | |||
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
21 | // DEALINGS IN THE SOFTWARE. | 21 | // DEALINGS IN THE SOFTWARE. |
22 | 22 | ||
23 | // $Id: WorkspaceCmd.cc,v 1.1 2003/06/30 14:38:42 fluxgen Exp $ | 23 | // $Id: WorkspaceCmd.cc,v 1.2 2003/07/01 09:47:41 fluxgen Exp $ |
24 | 24 | ||
25 | #include "WorkspaceCmd.hh" | 25 | #include "WorkspaceCmd.hh" |
26 | #include "Workspace.hh" | 26 | #include "Workspace.hh" |
@@ -85,6 +85,18 @@ void PrevWorkspaceCmd::execute() { | |||
85 | screen->prevWorkspace(); | 85 | screen->prevWorkspace(); |
86 | } | 86 | } |
87 | 87 | ||
88 | void LeftWorkspaceCmd::execute() { | ||
89 | BScreen *screen = Fluxbox::instance()->keyScreen(); | ||
90 | if (screen != 0) | ||
91 | screen->leftWorkspace(m_param); | ||
92 | } | ||
93 | |||
94 | void RightWorkspaceCmd::execute() { | ||
95 | BScreen *screen = Fluxbox::instance()->keyScreen(); | ||
96 | if (screen != 0) | ||
97 | screen->rightWorkspace(m_param); | ||
98 | } | ||
99 | |||
88 | JumpToWorkspaceCmd::JumpToWorkspaceCmd(int workspace_num):m_workspace_num(workspace_num) { } | 100 | JumpToWorkspaceCmd::JumpToWorkspaceCmd(int workspace_num):m_workspace_num(workspace_num) { } |
89 | 101 | ||
90 | void JumpToWorkspaceCmd::execute() { | 102 | void JumpToWorkspaceCmd::execute() { |