diff options
author | fluxgen <fluxgen> | 2004-02-20 19:40:31 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2004-02-20 19:40:31 (GMT) |
commit | afb137c7881c622547de6a4d91fc5c18cfe4d4aa (patch) | |
tree | 754fdf136e4b9202f16d43ef9671e550820e0e62 /src/CurrentWindowCmd.hh | |
parent | b566b0d970f9074835e4c2480aa740e34579edb1 (diff) | |
download | fluxbox_pavel-afb137c7881c622547de6a4d91fc5c18cfe4d4aa.zip fluxbox_pavel-afb137c7881c622547de6a4d91fc5c18cfe4d4aa.tar.bz2 |
added SendToNextWorkspace and SendToPrevWorkspace, patch from Mathias Gumz
Diffstat (limited to 'src/CurrentWindowCmd.hh')
-rw-r--r-- | src/CurrentWindowCmd.hh | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/src/CurrentWindowCmd.hh b/src/CurrentWindowCmd.hh index c4c559b..2c22f07 100644 --- a/src/CurrentWindowCmd.hh +++ b/src/CurrentWindowCmd.hh | |||
@@ -20,7 +20,7 @@ | |||
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
21 | // DEALINGS IN THE SOFTWARE. | 21 | // DEALINGS IN THE SOFTWARE. |
22 | 22 | ||
23 | // $Id: CurrentWindowCmd.hh,v 1.6 2003/10/25 22:11:22 fluxgen Exp $ | 23 | // $Id: CurrentWindowCmd.hh,v 1.7 2004/02/20 19:40:31 fluxgen Exp $ |
24 | 24 | ||
25 | #ifndef CURRENTWINDOWCMD_HH | 25 | #ifndef CURRENTWINDOWCMD_HH |
26 | #define CURRENTWINDOWCMD_HH | 26 | #define CURRENTWINDOWCMD_HH |
@@ -69,6 +69,24 @@ private: | |||
69 | const int m_workspace_num; | 69 | const int m_workspace_num; |
70 | }; | 70 | }; |
71 | 71 | ||
72 | class SendToNextWorkspaceCmd: public WindowHelperCmd { | ||
73 | public: | ||
74 | explicit SendToNextWorkspaceCmd(int workspace_num):m_workspace_num(workspace_num) { } | ||
75 | protected: | ||
76 | void real_execute(); | ||
77 | private: | ||
78 | const int m_workspace_num; | ||
79 | }; | ||
80 | |||
81 | class SendToPrevWorkspaceCmd: public WindowHelperCmd { | ||
82 | public: | ||
83 | explicit SendToPrevWorkspaceCmd(int workspace_num):m_workspace_num(workspace_num) { } | ||
84 | protected: | ||
85 | void real_execute(); | ||
86 | private: | ||
87 | const int m_workspace_num; | ||
88 | }; | ||
89 | |||
72 | // move cmd, relative position | 90 | // move cmd, relative position |
73 | class MoveCmd: public WindowHelperCmd { | 91 | class MoveCmd: public WindowHelperCmd { |
74 | public: | 92 | public: |