summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Screen.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 1cec4d7..c6ec4e7 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Screen.cc,v 1.258 2004/01/03 00:28:02 fluxgen Exp $ 25// $Id: Screen.cc,v 1.259 2004/01/10 02:58:01 fluxgen Exp $
26 26
27 27
28#include "Screen.hh" 28#include "Screen.hh"
@@ -627,6 +627,9 @@ BScreen::~BScreen() {
627 if (! managed) 627 if (! managed)
628 return; 628 return;
629 629
630 if (m_rootmenu.get() != 0)
631 m_rootmenu->removeAll();
632
630 if (geom_pixmap != None) 633 if (geom_pixmap != None)
631 imageControl().removeImage(geom_pixmap); 634 imageControl().removeImage(geom_pixmap);
632 635