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.hh | |
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.hh')
-rw-r--r-- | src/CurrentWindowCmd.hh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/CurrentWindowCmd.hh b/src/CurrentWindowCmd.hh index 9b8e8fb..4b05030 100644 --- a/src/CurrentWindowCmd.hh +++ b/src/CurrentWindowCmd.hh | |||
@@ -60,6 +60,15 @@ protected: | |||
60 | void real_execute(); | 60 | void real_execute(); |
61 | }; | 61 | }; |
62 | 62 | ||
63 | class SetHeadCmd : public WindowHelperCmd { | ||
64 | public: | ||
65 | explicit SetHeadCmd(int head) : m_head(head) { } | ||
66 | protected: | ||
67 | void real_execute(); | ||
68 | private: | ||
69 | const int m_head; | ||
70 | }; | ||
71 | |||
63 | class SendToWorkspaceCmd: public WindowHelperCmd { | 72 | class SendToWorkspaceCmd: public WindowHelperCmd { |
64 | public: | 73 | public: |
65 | explicit SendToWorkspaceCmd(int workspace_num):m_workspace_num(workspace_num) { } | 74 | explicit SendToWorkspaceCmd(int workspace_num):m_workspace_num(workspace_num) { } |