all repos — fluxbox @ 565201d14f0d8abf1c7c0e59540b2a01e5aa431f

custom fork of the fluxbox windowmanager

execute command from key input
fluxgen fluxgen
commit

565201d14f0d8abf1c7c0e59540b2a01e5aa431f

parent

23729b78ba2a6f57be040cf7fef12e2b9daa942a

1 files changed, 4 insertions(+), 3 deletions(-)

jump to
M src/fluxbox.ccsrc/fluxbox.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// 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 "XrmDatabaseHelper.hh"

#include "AtomHandler.hh" #include "ImageControl.hh" #include "EventManager.hh" +#include "FbCommands.hh" //Use GNU extensions #ifndef _GNU_SOURCE

@@ -1168,8 +1169,8 @@ }

break; case Keys::EXECUTE: //execute command on keypress { - cerr<<"TODO"<<endl; - + FbCommands::ExecuteCmd cmd(key->getExecCommand()); + cmd.execute(); } break; case Keys::QUIT: