diff options
Diffstat (limited to 'src/WorkspaceCmd.cc')
-rw-r--r-- | src/WorkspaceCmd.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/WorkspaceCmd.cc b/src/WorkspaceCmd.cc index 0cbf5b9..b040fdd 100644 --- a/src/WorkspaceCmd.cc +++ b/src/WorkspaceCmd.cc | |||
@@ -63,6 +63,18 @@ void DirFocusCmd::execute() { | |||
63 | screen->focusControl().dirFocus(*win, m_dir); | 63 | screen->focusControl().dirFocus(*win, m_dir); |
64 | } | 64 | } |
65 | 65 | ||
66 | void AddWorkspaceCmd::execute() { | ||
67 | BScreen *screen = Fluxbox::instance()->mouseScreen(); | ||
68 | if (screen != 0) | ||
69 | screen->addWorkspace(); | ||
70 | } | ||
71 | |||
72 | void RemoveLastWorkspaceCmd::execute() { | ||
73 | BScreen *screen = Fluxbox::instance()->mouseScreen(); | ||
74 | if (screen != 0) | ||
75 | screen->removeLastWorkspace(); | ||
76 | } | ||
77 | |||
66 | void NextWorkspaceCmd::execute() { | 78 | void NextWorkspaceCmd::execute() { |
67 | BScreen *screen = Fluxbox::instance()->mouseScreen(); | 79 | BScreen *screen = Fluxbox::instance()->mouseScreen(); |
68 | if (screen != 0) | 80 | if (screen != 0) |