diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2008-08-14 05:52:39 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2008-08-14 05:52:39 (GMT) |
commit | e169d33552c8e7070aa6e13da0187f2013b4cfc3 (patch) | |
tree | ae9e92c7e885791c7f47645184070cbcd441ab94 /src/CurrentWindowCmd.hh | |
parent | c82e7c0080f8a5c14dcf95ec92dc42f59ea9dd8b (diff) | |
parent | 91ca3bc5c8e2b892a9a81b18246f72aba7deebfd (diff) | |
download | fluxbox_lack-e169d33552c8e7070aa6e13da0187f2013b4cfc3.zip fluxbox_lack-e169d33552c8e7070aa6e13da0187f2013b4cfc3.tar.bz2 |
Merge branch 'master' into to_push
Diffstat (limited to 'src/CurrentWindowCmd.hh')
-rw-r--r-- | src/CurrentWindowCmd.hh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/CurrentWindowCmd.hh b/src/CurrentWindowCmd.hh index 157855c..d70e2fb 100644 --- a/src/CurrentWindowCmd.hh +++ b/src/CurrentWindowCmd.hh | |||
@@ -137,6 +137,16 @@ private: | |||
137 | const int m_tab_num; | 137 | const int m_tab_num; |
138 | }; | 138 | }; |
139 | 139 | ||
140 | // focus the window | ||
141 | class FocusCmd: public WindowHelperCmd { | ||
142 | public: | ||
143 | explicit FocusCmd(const std::string &pat): m_pat(pat.c_str()) { } | ||
144 | protected: | ||
145 | void real_execute(); | ||
146 | private: | ||
147 | const ClientPattern m_pat; | ||
148 | }; | ||
149 | |||
140 | // begin moving with mouse | 150 | // begin moving with mouse |
141 | class StartMovingCmd: public WindowHelperCmd { | 151 | class StartMovingCmd: public WindowHelperCmd { |
142 | public: | 152 | public: |
@@ -247,6 +257,17 @@ private: | |||
247 | int m_relative, m_un_relative; | 257 | int m_relative, m_un_relative; |
248 | }; | 258 | }; |
249 | 259 | ||
260 | class SetLayerCmd: public WindowHelperCmd { | ||
261 | public: | ||
262 | explicit SetLayerCmd(int layer): m_layer(layer) { } | ||
263 | static FbTk::Command<void> *parse(const std::string &command, | ||
264 | const std::string &args, bool trusted); | ||
265 | protected: | ||
266 | void real_execute(); | ||
267 | private: | ||
268 | int m_layer; | ||
269 | }; | ||
270 | |||
250 | class MatchCmd: public WindowHelperBoolCmd { | 271 | class MatchCmd: public WindowHelperBoolCmd { |
251 | public: | 272 | public: |
252 | MatchCmd(const std::string &pat): m_pat(pat.c_str()) { }; | 273 | MatchCmd(const std::string &pat): m_pat(pat.c_str()) { }; |