diff options
author | mathias <mathias> | 2004-12-21 16:09:36 (GMT) |
---|---|---|
committer | mathias <mathias> | 2004-12-21 16:09:36 (GMT) |
commit | 6dffafc39e4b11542705e2d4cd8477545967f5fc (patch) | |
tree | 0585d524794e3df62a34edef44aaf01a2830ca1f /src/CurrentWindowCmd.cc | |
parent | f3dfb80c405182573804e764357d1e615dd20792 (diff) | |
download | fluxbox_pavel-6dffafc39e4b11542705e2d4cd8477545967f5fc.zip fluxbox_pavel-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.cc | 4 |
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 | ||
45 | void SetHeadCmd::real_execute() { | ||
46 | fbwindow().screen().setOnHead(fbwindow(), m_head); | ||
47 | } | ||
48 | |||
45 | void SendToWorkspaceCmd::real_execute() { | 49 | void 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()); |