aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-01-10 02:58:01 (GMT)
committerfluxgen <fluxgen>2004-01-10 02:58:01 (GMT)
commitba24f20831afc9b07535b4a4fb8116b08cd1058f (patch)
treec9deb2248bb0d8b8e4286653c54151181f9aab55
parent58a586a73ed03f0afa21acaf71fbbc0a5cdbeac8 (diff)
downloadfluxbox_paul-ba24f20831afc9b07535b4a4fb8116b08cd1058f.zip
fluxbox_paul-ba24f20831afc9b07535b4a4fb8116b08cd1058f.tar.bz2
clear root menu
-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