fix CustomMenu and ClientMenu commands from fluxbox-remote
This commit is contained in:
parent
22f3df9aa8
commit
b265d0d870
2 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
|||
(Format: Year/Month/Day)
|
||||
Changes for 1.1.2
|
||||
*08/10/04:
|
||||
* Fix CustomMenu and ClientMenu commands from fluxbox-remote (Mark)
|
||||
Screen.cc
|
||||
* Break emacs-style keychains after one invalid key has been pressed (Mark)
|
||||
Screen.cc Keys.cc/hh
|
||||
* Fix flickering of shaped windows, #2131548 and #2001027 (Mark)
|
||||
|
|
|
@ -841,7 +841,8 @@ void BScreen::propertyNotify(Atom atom) {
|
|||
&ret_bytes_after, (unsigned char **)&str);
|
||||
}
|
||||
|
||||
FbTk::RefCount<FbTk::Command<void> > cmd(FbTk::CommandParser<void>::instance().parse(str, false));
|
||||
static std::auto_ptr<FbTk::Command<void> > cmd(0);
|
||||
cmd.reset(FbTk::CommandParser<void>::instance().parse(str, false));
|
||||
if (cmd.get())
|
||||
cmd->execute();
|
||||
XFree(str);
|
||||
|
|
Loading…
Reference in a new issue