aboutsummaryrefslogtreecommitdiff
path: root/src/FbCommandFactory.cc
diff options
context:
space:
mode:
authorsimonb <simonb>2006-04-12 15:51:37 (GMT)
committersimonb <simonb>2006-04-12 15:51:37 (GMT)
commit33079d2593a7a598446cc837fc39eb2a914ebb1f (patch)
tree40c8793a180835ee46dfdae0e336340df9788c69 /src/FbCommandFactory.cc
parent48579408d19fe0042a32f9634e6518b2eca3671c (diff)
downloadfluxbox-33079d2593a7a598446cc837fc39eb2a914ebb1f.zip
fluxbox-33079d2593a7a598446cc837fc39eb2a914ebb1f.tar.bz2
add "key modes" - thanks to Mark Tiefenbruck, mark at tiefenbruck dot org
Diffstat (limited to 'src/FbCommandFactory.cc')
-rw-r--r--src/FbCommandFactory.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/FbCommandFactory.cc b/src/FbCommandFactory.cc
index aa091bb..4bf1dd5 100644
--- a/src/FbCommandFactory.cc
+++ b/src/FbCommandFactory.cc
@@ -65,6 +65,7 @@ FbCommandFactory::FbCommandFactory() {
65 "focusright", 65 "focusright",
66 "fullscreen", 66 "fullscreen",
67 "iconify", 67 "iconify",
68 "keymode",
68 "killwindow", 69 "killwindow",
69 "leftworkspace", 70 "leftworkspace",
70 "lower", 71 "lower",
@@ -106,11 +107,11 @@ FbCommandFactory::FbCommandFactory() {
106 "rightworkspace", 107 "rightworkspace",
107 "rootmenu", 108 "rootmenu",
108 "saverc", 109 "saverc",
109 "setenv",
110 "sethead",
111 "sendtoworkspace", 110 "sendtoworkspace",
112 "sendtonextworkspace", 111 "sendtonextworkspace",
113 "sendtoprevworkspace", 112 "sendtoprevworkspace",
113 "setenv",
114 "sethead",
114 "setstyle", 115 "setstyle",
115 "setworkspacename", 116 "setworkspacename",
116 "setworkspacenamedialog", 117 "setworkspacenamedialog",
@@ -168,6 +169,8 @@ FbTk::Command *FbCommandFactory::stringToCommand(const std::string &command,
168 return new SetStyleCmd(arguments); 169 return new SetStyleCmd(arguments);
169 else if (command == "reloadstyle") 170 else if (command == "reloadstyle")
170 return new ReloadStyleCmd(); 171 return new ReloadStyleCmd();
172 else if (command == "keymode")
173 return new KeyModeCmd(arguments);
171 else if (command == "saverc") 174 else if (command == "saverc")
172 return new SaveResources(); 175 return new SaveResources();
173 else if (command == "execcommand" || command == "execute" || command == "exec") 176 else if (command == "execcommand" || command == "execute" || command == "exec")