aboutsummaryrefslogtreecommitdiff
path: root/src/CurrentWindowCmd.cc
diff options
context:
space:
mode:
authormathias <mathias>2004-12-21 16:09:36 (GMT)
committermathias <mathias>2004-12-21 16:09:36 (GMT)
commit6dffafc39e4b11542705e2d4cd8477545967f5fc (patch)
tree0585d524794e3df62a34edef44aaf01a2830ca1f /src/CurrentWindowCmd.cc
parentf3dfb80c405182573804e764357d1e615dd20792 (diff)
downloadfluxbox-6dffafc39e4b11542705e2d4cd8477545967f5fc.zip
fluxbox-6dffafc39e4b11542705e2d4cd8477545967f5fc.tar.bz2
* added new command:
sethead <int> which sets the current window to head<int> * added remembering of the head to apps-file: [Head] {<int>}
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());