fix a crash. when the window loses focus during its death, it uses the timer object, which was being deleted.
Dana Jansens danakj@orodu.net
1 files changed,
4 insertions(+),
4 deletions(-)
jump to
M
src/Window.cc
→
src/Window.cc
@@ -347,10 +347,6 @@ // server. This should only ever happen if using opaque moving.
if (flags.moving) endMove(); - delete timer; - - delete windowmenu; - if (client.window_group) { BWindowGroup *group = blackbox->searchGroup(client.window_group); if (group) group->removeWindow(this);@@ -380,6 +376,10 @@ for (it = client.transientList.begin(); it != end; ++it) {
(*it)->client.transient_for = (BlackboxWindow*) 0; } } + + delete timer; + + delete windowmenu; if (frame.title) destroyTitlebar();