diff options
author | fluxgen <fluxgen> | 2003-02-17 12:31:17 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-02-17 12:31:17 (GMT) |
commit | 565201d14f0d8abf1c7c0e59540b2a01e5aa431f (patch) | |
tree | 077563ca5717bd56b252a58a6e1a5bc420beb805 /src | |
parent | 23729b78ba2a6f57be040cf7fef12e2b9daa942a (diff) | |
download | fluxbox_paul-565201d14f0d8abf1c7c0e59540b2a01e5aa431f.zip fluxbox_paul-565201d14f0d8abf1c7c0e59540b2a01e5aa431f.tar.bz2 |
execute command from key input
Diffstat (limited to 'src')
-rw-r--r-- | src/fluxbox.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 9d23793..19ee556 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: fluxbox.cc,v 1.95 2003/02/09 14:11:13 rathnor Exp $ | 25 | // $Id: fluxbox.cc,v 1.96 2003/02/17 12:31:17 fluxgen Exp $ |
26 | 26 | ||
27 | 27 | ||
28 | #include "fluxbox.hh" | 28 | #include "fluxbox.hh" |
@@ -38,6 +38,7 @@ | |||
38 | #include "AtomHandler.hh" | 38 | #include "AtomHandler.hh" |
39 | #include "ImageControl.hh" | 39 | #include "ImageControl.hh" |
40 | #include "EventManager.hh" | 40 | #include "EventManager.hh" |
41 | #include "FbCommands.hh" | ||
41 | 42 | ||
42 | //Use GNU extensions | 43 | //Use GNU extensions |
43 | #ifndef _GNU_SOURCE | 44 | #ifndef _GNU_SOURCE |
@@ -1168,8 +1169,8 @@ void Fluxbox::handleKeyEvent(XKeyEvent &ke) { | |||
1168 | break; | 1169 | break; |
1169 | case Keys::EXECUTE: //execute command on keypress | 1170 | case Keys::EXECUTE: //execute command on keypress |
1170 | { | 1171 | { |
1171 | cerr<<"TODO"<<endl; | 1172 | FbCommands::ExecuteCmd cmd(key->getExecCommand()); |
1172 | 1173 | cmd.execute(); | |
1173 | } | 1174 | } |
1174 | break; | 1175 | break; |
1175 | case Keys::QUIT: | 1176 | case Keys::QUIT: |