]> Dogcows Code - chaz/openbox/commitdiff
fix a crash. when the window loses focus during its death, it uses the timer object...
authorDana Jansens <danakj@orodu.net>
Tue, 23 Jul 2002 04:01:39 +0000 (04:01 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 23 Jul 2002 04:01:39 +0000 (04:01 +0000)
src/Window.cc

index 4b730d34396b6e4bf5815ac6e6bf6b5e5ded0dc7..8119a54c3cee949dc85c6c7e0129c1d3143dcbcf 100644 (file)
@@ -347,10 +347,6 @@ BlackboxWindow::~BlackboxWindow(void) {
   if (flags.moving)
     endMove();
 
-  delete timer;
-
-  delete windowmenu;
-
   if (client.window_group) {
     BWindowGroup *group = blackbox->searchGroup(client.window_group);
     if (group) group->removeWindow(this);
@@ -381,6 +377,10 @@ BlackboxWindow::~BlackboxWindow(void) {
     }
   }
 
+  delete timer;
+
+  delete windowmenu;
+
   if (frame.title)
     destroyTitlebar();
 
This page took 0.028994 seconds and 4 git commands to generate.