diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-05 12:00:48 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-05 12:00:48 (GMT) |
commit | 22aa93c56de131b80dfb161615650c4fb6cf6832 (patch) | |
tree | d68fe96088759ea952ff8f4b7214411be9541f46 /src/CurrentWindowCmd.hh | |
parent | 24bea22035e79c17fa6b6fdcd60f88e4eac467d8 (diff) | |
download | fluxbox-22aa93c56de131b80dfb161615650c4fb6cf6832.zip fluxbox-22aa93c56de131b80dfb161615650c4fb6cf6832.tar.bz2 |
fix the Focus key command
Diffstat (limited to 'src/CurrentWindowCmd.hh')
-rw-r--r-- | src/CurrentWindowCmd.hh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/CurrentWindowCmd.hh b/src/CurrentWindowCmd.hh index 5d381a2..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: |