aboutsummaryrefslogtreecommitdiff
path: root/src/FbCommandFactory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbCommandFactory.cc')
-rw-r--r--src/FbCommandFactory.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/FbCommandFactory.cc b/src/FbCommandFactory.cc
index 0daec6d..1e5b506 100644
--- a/src/FbCommandFactory.cc
+++ b/src/FbCommandFactory.cc
@@ -85,6 +85,7 @@ FbCommandFactory::FbCommandFactory() {
85 // setup commands that we can handle 85 // setup commands that we can handle
86 const char* commands[] = { 86 const char* commands[] = {
87 "arrangewindows", 87 "arrangewindows",
88 "attach",
88 "bindkey", 89 "bindkey",
89 "clientmenu", 90 "clientmenu",
90 "close", 91 "close",
@@ -487,6 +488,11 @@ FbTk::Command *FbCommandFactory::stringToCommand(const std::string &command,
487 cerr<<"*** WARNING: 'Workspace<n>' actions are deprecated! Use 'Workspace <n>' instead"<<endl; 488 cerr<<"*** WARNING: 'Workspace<n>' actions are deprecated! Use 'Workspace <n>' instead"<<endl;
488 return new JumpToWorkspaceCmd(getint(command.substr(9).c_str(), 1) - 1); 489 return new JumpToWorkspaceCmd(getint(command.substr(9).c_str(), 1) - 1);
489 490
491 } else if (command == "attach") {
492 int opts; // not used
493 string pat;
494 parseNextWindowArgs(arguments, opts, pat);
495 return new AttachCmd(pat);
490 } else if (command == "nextwindow") { 496 } else if (command == "nextwindow") {
491 int opts; 497 int opts;
492 string pat; 498 string pat;