aboutsummaryrefslogtreecommitdiff
path: root/src/CurrentWindowCmd.hh
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-08-05 07:05:21 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-08-05 07:05:21 (GMT)
commit24bea22035e79c17fa6b6fdcd60f88e4eac467d8 (patch)
treee0cae9682c279558cbaa106d0572118ee76652db /src/CurrentWindowCmd.hh
parent9d71ad9c1477875001ecd19eb4cbbe1c4ba4eb40 (diff)
downloadfluxbox-24bea22035e79c17fa6b6fdcd60f88e4eac467d8.zip
fluxbox-24bea22035e79c17fa6b6fdcd60f88e4eac467d8.tar.bz2
add SetLayer key command
Diffstat (limited to 'src/CurrentWindowCmd.hh')
-rw-r--r--src/CurrentWindowCmd.hh11
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
250class SetLayerCmd: public WindowHelperCmd {
251public:
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);
255protected:
256 void real_execute();
257private:
258 int m_layer;
259};
260
250class MatchCmd: public WindowHelperBoolCmd { 261class MatchCmd: public WindowHelperBoolCmd {
251public: 262public:
252 MatchCmd(const std::string &pat): m_pat(pat.c_str()) { }; 263 MatchCmd(const std::string &pat): m_pat(pat.c_str()) { };