diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-05 07:05:21 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-05 07:05:21 (GMT) |
commit | 24bea22035e79c17fa6b6fdcd60f88e4eac467d8 (patch) | |
tree | e0cae9682c279558cbaa106d0572118ee76652db /src/CurrentWindowCmd.hh | |
parent | 9d71ad9c1477875001ecd19eb4cbbe1c4ba4eb40 (diff) | |
download | fluxbox-24bea22035e79c17fa6b6fdcd60f88e4eac467d8.zip fluxbox-24bea22035e79c17fa6b6fdcd60f88e4eac467d8.tar.bz2 |
add SetLayer key command
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 157855c..5d381a2 100644 --- a/src/CurrentWindowCmd.hh +++ b/src/CurrentWindowCmd.hh | |||
@@ -247,6 +247,17 @@ private: | |||
247 | int m_relative, m_un_relative; | 247 | int m_relative, m_un_relative; |
248 | }; | 248 | }; |
249 | 249 | ||
250 | class SetLayerCmd: public WindowHelperCmd { | ||
251 | public: | ||
252 | explicit SetLayerCmd(int layer): m_layer(layer) { } | ||
253 | static FbTk::Command<void> *parse(const std::string &command, | ||
254 | const std::string &args, bool trusted); | ||
255 | protected: | ||
256 | void real_execute(); | ||
257 | private: | ||
258 | int m_layer; | ||
259 | }; | ||
260 | |||
250 | class MatchCmd: public WindowHelperBoolCmd { | 261 | class MatchCmd: public WindowHelperBoolCmd { |
251 | public: | 262 | public: |
252 | MatchCmd(const std::string &pat): m_pat(pat.c_str()) { }; | 263 | MatchCmd(const std::string &pat): m_pat(pat.c_str()) { }; |