diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | src/Screen.cc | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -1,6 +1,8 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 1.1.2 | 2 | Changes for 1.1.2 |
3 | *08/10/04: | 3 | *08/10/04: |
4 | * Fix CustomMenu and ClientMenu commands from fluxbox-remote (Mark) | ||
5 | Screen.cc | ||
4 | * Break emacs-style keychains after one invalid key has been pressed (Mark) | 6 | * Break emacs-style keychains after one invalid key has been pressed (Mark) |
5 | Screen.cc Keys.cc/hh | 7 | Screen.cc Keys.cc/hh |
6 | * Fix flickering of shaped windows, #2131548 and #2001027 (Mark) | 8 | * Fix flickering of shaped windows, #2131548 and #2001027 (Mark) |
diff --git a/src/Screen.cc b/src/Screen.cc index 49b631d..96ede24 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -841,7 +841,8 @@ void BScreen::propertyNotify(Atom atom) { | |||
841 | &ret_bytes_after, (unsigned char **)&str); | 841 | &ret_bytes_after, (unsigned char **)&str); |
842 | } | 842 | } |
843 | 843 | ||
844 | FbTk::RefCount<FbTk::Command<void> > cmd(FbTk::CommandParser<void>::instance().parse(str, false)); | 844 | static std::auto_ptr<FbTk::Command<void> > cmd(0); |
845 | cmd.reset(FbTk::CommandParser<void>::instance().parse(str, false)); | ||
845 | if (cmd.get()) | 846 | if (cmd.get()) |
846 | cmd->execute(); | 847 | cmd->execute(); |
847 | XFree(str); | 848 | XFree(str); |