aboutsummaryrefslogtreecommitdiff
path: root/src/WorkspaceCmd.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/WorkspaceCmd.cc')
-rw-r--r--src/WorkspaceCmd.cc12
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
66void AddWorkspaceCmd::execute() {
67 BScreen *screen = Fluxbox::instance()->mouseScreen();
68 if (screen != 0)
69 screen->addWorkspace();
70}
71
72void RemoveLastWorkspaceCmd::execute() {
73 BScreen *screen = Fluxbox::instance()->mouseScreen();
74 if (screen != 0)
75 screen->removeLastWorkspace();
76}
77
66void NextWorkspaceCmd::execute() { 78void NextWorkspaceCmd::execute() {
67 BScreen *screen = Fluxbox::instance()->mouseScreen(); 79 BScreen *screen = Fluxbox::instance()->mouseScreen();
68 if (screen != 0) 80 if (screen != 0)