aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-01-10 00:44:17 (GMT)
committerfluxgen <fluxgen>2003-01-10 00:44:17 (GMT)
commitc4a6b773d14370c3c07ce3f27ec6c2d4f63e93fc (patch)
tree20b8407ebf351fc55c88c11baa4f681f9e2ad41c /src/fluxbox.cc
parent6626addd039de75eea09a5818a78467f0bb5f14b (diff)
downloadfluxbox-c4a6b773d14370c3c07ce3f27ec6c2d4f63e93fc.zip
fluxbox-c4a6b773d14370c3c07ce3f27ec6c2d4f63e93fc.tar.bz2
removed Keyboard execute function
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r--src/fluxbox.cc18
1 files 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 @@
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.89 2003/01/09 18:30:49 fluxgen Exp $ 25// $Id: fluxbox.cc,v 1.90 2003/01/10 00:44:17 fluxgen Exp $
26 26
27 27
28#include "fluxbox.hh" 28#include "fluxbox.hh"
@@ -1279,21 +1279,7 @@ void Fluxbox::handleKeyEvent(XKeyEvent &ke) {
1279 break; 1279 break;
1280 case Keys::EXECUTE: //execute command on keypress 1280 case Keys::EXECUTE: //execute command on keypress
1281 { 1281 {
1282#ifndef __EMX__ 1282 cerr<<"TODO"<<endl;
1283 char displaystring[MAXPATHLEN];
1284 sprintf(displaystring, "DISPLAY=%s",
1285 DisplayString(getXDisplay()));
1286 sprintf(displaystring + strlen(displaystring) - 1, "%d",
1287 screen->getScreenNumber());
1288#ifdef DEBUG
1289 cerr<<__FILE__<<"("<<__LINE__<<"): Executing:"<<key->getExecCommand().c_str()<<endl;
1290#endif // DEBUG
1291
1292 bexec(key->getExecCommand().c_str(), displaystring);
1293#else
1294 spawnlp(P_NOWAIT, "cmd.exe", "cmd.exe", "/c", item->exec(), NULL);
1295#endif // !__EMX__
1296
1297 1283
1298 } 1284 }
1299 break; 1285 break;