]> Dogcows Code - chaz/openbox/commitdiff
clean up the systray and desktop lists
authorDana Jansens <danakj@orodu.net>
Thu, 11 Jul 2002 00:41:56 +0000 (00:41 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 11 Jul 2002 00:41:56 +0000 (00:41 +0000)
src/Screen.cc

index cebd21c03bad34d52915a4d16bf6e733ca1da097..9922435023e6ebc74dad250b1680ee967cb866ba 100644 (file)
@@ -310,6 +310,12 @@ BScreen::~BScreen(void) {
 
   std::for_each(netizenList.begin(), netizenList.end(), PointerAssassin());
 
+  while (! desktopWindowList.empty())
+    removeDesktopWindow(desktopWindowList[0]);
+
+  while (! systrayWindowList.empty())
+    removeSystrayWindow(systrayWindowList[0]);
+
   delete rootmenu;
   delete workspacemenu;
   delete iconmenu;
This page took 0.023555 seconds and 4 git commands to generate.