From c4a6b773d14370c3c07ce3f27ec6c2d4f63e93fc Mon Sep 17 00:00:00 2001 From: fluxgen Date: Fri, 10 Jan 2003 00:44:17 +0000 Subject: removed Keyboard execute function --- src/fluxbox.cc | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 1e09ef2..27ee143 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.89 2003/01/09 18:30:49 fluxgen Exp $ +// $Id: fluxbox.cc,v 1.90 2003/01/10 00:44:17 fluxgen Exp $ #include "fluxbox.hh" @@ -1279,21 +1279,7 @@ void Fluxbox::handleKeyEvent(XKeyEvent &ke) { break; case Keys::EXECUTE: //execute command on keypress { -#ifndef __EMX__ - char displaystring[MAXPATHLEN]; - sprintf(displaystring, "DISPLAY=%s", - DisplayString(getXDisplay())); - sprintf(displaystring + strlen(displaystring) - 1, "%d", - screen->getScreenNumber()); -#ifdef DEBUG - cerr<<__FILE__<<"("<<__LINE__<<"): Executing:"<getExecCommand().c_str()<getExecCommand().c_str(), displaystring); -#else - spawnlp(P_NOWAIT, "cmd.exe", "cmd.exe", "/c", item->exec(), NULL); -#endif // !__EMX__ - + cerr<<"TODO"<