diff options
author | markt <markt> | 2007-04-23 16:07:21 (GMT) |
---|---|---|
committer | markt <markt> | 2007-04-23 16:07:21 (GMT) |
commit | 6848e180a69cf55840f337f2ca3e70db44f25fd5 (patch) | |
tree | bda5a494abf5e7307f3190a5f6def6b138cdbc0d /src/FbCommandFactory.cc | |
parent | f0e5b2ef3ac6a90cf8a0a97321d9f040b31145c4 (diff) | |
download | fluxbox-6848e180a69cf55840f337f2ca3e70db44f25fd5.zip fluxbox-6848e180a69cf55840f337f2ca3e70db44f25fd5.tar.bz2 |
added clientmenu command, set iconicstate properly, disabled resizing shaded windows
Diffstat (limited to 'src/FbCommandFactory.cc')
-rw-r--r-- | src/FbCommandFactory.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/FbCommandFactory.cc b/src/FbCommandFactory.cc index 7475d56..0daec6d 100644 --- a/src/FbCommandFactory.cc +++ b/src/FbCommandFactory.cc | |||
@@ -86,6 +86,7 @@ FbCommandFactory::FbCommandFactory() { | |||
86 | const char* commands[] = { | 86 | const char* commands[] = { |
87 | "arrangewindows", | 87 | "arrangewindows", |
88 | "bindkey", | 88 | "bindkey", |
89 | "clientmenu", | ||
89 | "close", | 90 | "close", |
90 | "closeallwindows", | 91 | "closeallwindows", |
91 | "commanddialog", | 92 | "commanddialog", |
@@ -523,6 +524,11 @@ FbTk::Command *FbCommandFactory::stringToCommand(const std::string &command, | |||
523 | args = arguments.c_str() + pos; | 524 | args = arguments.c_str() + pos; |
524 | parseNextWindowArgs(args, opts, pat); | 525 | parseNextWindowArgs(args, opts, pat); |
525 | return new GoToWindowCmd(num, opts, pat); | 526 | return new GoToWindowCmd(num, opts, pat); |
527 | } else if (command == "clientmenu") { | ||
528 | int opts; | ||
529 | string pat; | ||
530 | parseNextWindowArgs(arguments, opts, pat); | ||
531 | return new ShowClientMenuCmd(opts, pat); | ||
526 | } else if (command == "focusup") | 532 | } else if (command == "focusup") |
527 | return new DirFocusCmd(FocusControl::FOCUSUP); | 533 | return new DirFocusCmd(FocusControl::FOCUSUP); |
528 | else if (command == "focusdown") | 534 | else if (command == "focusdown") |