From 565201d14f0d8abf1c7c0e59540b2a01e5aa431f Mon Sep 17 00:00:00 2001 From: fluxgen Date: Mon, 17 Feb 2003 12:31:17 +0000 Subject: execute command from key input --- src/fluxbox.cc | 7 ++++--- 1 file 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 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: fluxbox.cc,v 1.95 2003/02/09 14:11:13 rathnor Exp $ +// $Id: fluxbox.cc,v 1.96 2003/02/17 12:31:17 fluxgen Exp $ #include "fluxbox.hh" @@ -38,6 +38,7 @@ #include "AtomHandler.hh" #include "ImageControl.hh" #include "EventManager.hh" +#include "FbCommands.hh" //Use GNU extensions #ifndef _GNU_SOURCE @@ -1168,8 +1169,8 @@ void Fluxbox::handleKeyEvent(XKeyEvent &ke) { break; case Keys::EXECUTE: //execute command on keypress { - cerr<<"TODO"<getExecCommand()); + cmd.execute(); } break; case Keys::QUIT: -- cgit v0.11.2