aboutsummaryrefslogtreecommitdiff
path: root/src/CurrentWindowCmd.hh
diff options
context:
space:
mode:
authormathias <mathias>2005-06-15 09:48:46 (GMT)
committermathias <mathias>2005-06-15 09:48:46 (GMT)
commitcdc4338c6b7175e0c2654e42a01ae575722f4fd1 (patch)
tree3141c97a59c1213aeb8ab7a674dfba3512cf9311 /src/CurrentWindowCmd.hh
parentacaa58309364238371dec1c30d8fe5097843fd57 (diff)
downloadfluxbox-cdc4338c6b7175e0c2654e42a01ae575722f4fd1.zip
fluxbox-cdc4338c6b7175e0c2654e42a01ae575722f4fd1.tar.bz2
Fixes #1213003, SendToWorkspace shouldnt follow
SendToWorkspace and the rest are putting the window onto the new workspace silently, TakeToWorkspace warps to the new workspace with the window.
Diffstat (limited to 'src/CurrentWindowCmd.hh')
-rw-r--r--src/CurrentWindowCmd.hh28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/CurrentWindowCmd.hh b/src/CurrentWindowCmd.hh
index 6e17566..0ef7eca 100644
--- a/src/CurrentWindowCmd.hh
+++ b/src/CurrentWindowCmd.hh
@@ -96,6 +96,34 @@ private:
96 const int m_workspace_num; 96 const int m_workspace_num;
97}; 97};
98 98
99class TakeToWorkspaceCmd : public WindowHelperCmd {
100public:
101 explicit TakeToWorkspaceCmd(int workspace_num) : m_workspace_num(workspace_num) { }
102protected:
103 void real_execute();
104private:
105 const int m_workspace_num;
106};
107
108class TakeToNextWorkspaceCmd : public WindowHelperCmd {
109public:
110 explicit TakeToNextWorkspaceCmd(int workspace_num) : m_workspace_num(workspace_num) { }
111protected:
112 void real_execute();
113private:
114 const int m_workspace_num;
115};
116
117class TakeToPrevWorkspaceCmd : public WindowHelperCmd {
118public:
119 explicit TakeToPrevWorkspaceCmd(int workspace_num) : m_workspace_num(workspace_num) { }
120protected:
121 void real_execute();
122private:
123 const int m_workspace_num;
124};
125
126
99// goto tab 127// goto tab
100class GoToTabCmd: public WindowHelperCmd { 128class GoToTabCmd: public WindowHelperCmd {
101public: 129public: