diff options
author | Jim Ramsay <i.am@jimramsay.com> | 2009-10-14 01:05:49 (GMT) |
---|---|---|
committer | Jim Ramsay <i.am@jimramsay.com> | 2009-10-14 01:05:49 (GMT) |
commit | 839ea523164caecd8c779e60539b78c2a748a81f (patch) | |
tree | 0019d04f27a1a258bc7a900e3cf77b916dca6493 /src/CurrentWindowCmd.hh | |
parent | 4d3aa646c1d1d1de4fdb31f938f6ea62fd5dd21e (diff) | |
parent | 8def80cec337a986b762cdbb5e2555c6da809353 (diff) | |
download | fluxbox_lack-testing/argb.zip fluxbox_lack-testing/argb.tar.bz2 |
Merge branch 'master' into argbtesting/argbargb
Conflicts:
src/FbTk/FbWindow.cc
Diffstat (limited to 'src/CurrentWindowCmd.hh')
-rw-r--r-- | src/CurrentWindowCmd.hh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/CurrentWindowCmd.hh b/src/CurrentWindowCmd.hh index 32cc5f0..edf00fa 100644 --- a/src/CurrentWindowCmd.hh +++ b/src/CurrentWindowCmd.hh | |||
@@ -255,6 +255,17 @@ private: | |||
255 | int m_layer; | 255 | int m_layer; |
256 | }; | 256 | }; |
257 | 257 | ||
258 | class ChangeLayerCmd: public WindowHelperCmd { | ||
259 | public: | ||
260 | explicit ChangeLayerCmd(int diff): m_diff(diff) { } | ||
261 | static FbTk::Command<void> *parse(const std::string &command, | ||
262 | const std::string &args, bool trusted); | ||
263 | protected: | ||
264 | void real_execute(); | ||
265 | private: | ||
266 | int m_diff; | ||
267 | }; | ||
268 | |||
258 | class MatchCmd: public WindowHelperBoolCmd { | 269 | class MatchCmd: public WindowHelperBoolCmd { |
259 | public: | 270 | public: |
260 | MatchCmd(const std::string &pat): m_pat(pat.c_str()) { }; | 271 | MatchCmd(const std::string &pat): m_pat(pat.c_str()) { }; |