aboutsummaryrefslogtreecommitdiff
path: root/src/CurrentWindowCmd.hh
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.hh
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.hh')
-rw-r--r--src/CurrentWindowCmd.hh9
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
63class SetHeadCmd : public WindowHelperCmd {
64public:
65 explicit SetHeadCmd(int head) : m_head(head) { }
66protected:
67 void real_execute();
68private:
69 const int m_head;
70};
71
63class SendToWorkspaceCmd: public WindowHelperCmd { 72class SendToWorkspaceCmd: public WindowHelperCmd {
64public: 73public:
65 explicit SendToWorkspaceCmd(int workspace_num):m_workspace_num(workspace_num) { } 74 explicit SendToWorkspaceCmd(int workspace_num):m_workspace_num(workspace_num) { }