diff options
Diffstat (limited to 'src/CurrentWindowCmd.cc')
-rw-r--r-- | src/CurrentWindowCmd.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/CurrentWindowCmd.cc b/src/CurrentWindowCmd.cc index bfccbdc..6918db9 100644 --- a/src/CurrentWindowCmd.cc +++ b/src/CurrentWindowCmd.cc | |||
@@ -509,6 +509,15 @@ void SetTitleCmd::real_execute() { | |||
509 | fbwindow().winClient().setTitle(title); | 509 | fbwindow().winClient().setTitle(title); |
510 | } | 510 | } |
511 | 511 | ||
512 | REGISTER_COMMAND_WITH_ARGS(setdecor, SetDecorCmd, void); | ||
513 | |||
514 | SetDecorCmd::SetDecorCmd(const std::string &args): | ||
515 | m_mask(FbWinFrame::getDecoMaskFromString(args)) { } | ||
516 | |||
517 | void SetDecorCmd::real_execute() { | ||
518 | fbwindow().setDecorationMask(m_mask); | ||
519 | } | ||
520 | |||
512 | FbTk::Command<void> *SetAlphaCmd::parse(const string &command, const string &args, | 521 | FbTk::Command<void> *SetAlphaCmd::parse(const string &command, const string &args, |
513 | bool trusted) { | 522 | bool trusted) { |
514 | typedef std::vector<string> StringTokens; | 523 | typedef std::vector<string> StringTokens; |