diff options
author | mathias <mathias> | 2005-06-15 09:48:46 (GMT) |
---|---|---|
committer | mathias <mathias> | 2005-06-15 09:48:46 (GMT) |
commit | cdc4338c6b7175e0c2654e42a01ae575722f4fd1 (patch) | |
tree | 3141c97a59c1213aeb8ab7a674dfba3512cf9311 /src/CurrentWindowCmd.hh | |
parent | acaa58309364238371dec1c30d8fe5097843fd57 (diff) | |
download | fluxbox-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.hh | 28 |
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 | ||
99 | class TakeToWorkspaceCmd : public WindowHelperCmd { | ||
100 | public: | ||
101 | explicit TakeToWorkspaceCmd(int workspace_num) : m_workspace_num(workspace_num) { } | ||
102 | protected: | ||
103 | void real_execute(); | ||
104 | private: | ||
105 | const int m_workspace_num; | ||
106 | }; | ||
107 | |||
108 | class TakeToNextWorkspaceCmd : public WindowHelperCmd { | ||
109 | public: | ||
110 | explicit TakeToNextWorkspaceCmd(int workspace_num) : m_workspace_num(workspace_num) { } | ||
111 | protected: | ||
112 | void real_execute(); | ||
113 | private: | ||
114 | const int m_workspace_num; | ||
115 | }; | ||
116 | |||
117 | class TakeToPrevWorkspaceCmd : public WindowHelperCmd { | ||
118 | public: | ||
119 | explicit TakeToPrevWorkspaceCmd(int workspace_num) : m_workspace_num(workspace_num) { } | ||
120 | protected: | ||
121 | void real_execute(); | ||
122 | private: | ||
123 | const int m_workspace_num; | ||
124 | }; | ||
125 | |||
126 | |||
99 | // goto tab | 127 | // goto tab |
100 | class GoToTabCmd: public WindowHelperCmd { | 128 | class GoToTabCmd: public WindowHelperCmd { |
101 | public: | 129 | public: |