aboutsummaryrefslogtreecommitdiff
path: root/src/CurrentWindowCmd.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/CurrentWindowCmd.cc')
-rw-r--r--src/CurrentWindowCmd.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CurrentWindowCmd.cc b/src/CurrentWindowCmd.cc
index a07dbb2..68bead7 100644
--- a/src/CurrentWindowCmd.cc
+++ b/src/CurrentWindowCmd.cc
@@ -42,6 +42,10 @@ void KillWindowCmd::real_execute() {
42 winclient().sendClose(true); 42 winclient().sendClose(true);
43} 43}
44 44
45void SetHeadCmd::real_execute() {
46 fbwindow().screen().setOnHead(fbwindow(), m_head);
47}
48
45void SendToWorkspaceCmd::real_execute() { 49void SendToWorkspaceCmd::real_execute() {
46 if (m_workspace_num >= 0 && m_workspace_num < fbwindow().screen().getNumberOfWorkspaces()) 50 if (m_workspace_num >= 0 && m_workspace_num < fbwindow().screen().getNumberOfWorkspaces())
47 fbwindow().screen().sendToWorkspace(m_workspace_num, &fbwindow()); 51 fbwindow().screen().sendToWorkspace(m_workspace_num, &fbwindow());