all repos — fluxbox @ ba24f20831afc9b07535b4a4fb8116b08cd1058f

custom fork of the fluxbox windowmanager

clear root menu
fluxgen fluxgen
commit

ba24f20831afc9b07535b4a4fb8116b08cd1058f

parent

58a586a73ed03f0afa21acaf71fbbc0a5cdbeac8

1 files changed, 4 insertions(+), 1 deletions(-)

jump to
M src/Screen.ccsrc/Screen.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Screen.cc,v 1.258 2004/01/03 00:28:02 fluxgen Exp $ +// $Id: Screen.cc,v 1.259 2004/01/10 02:58:01 fluxgen Exp $ #include "Screen.hh"

@@ -626,6 +626,9 @@

BScreen::~BScreen() { if (! managed) return; + + if (m_rootmenu.get() != 0) + m_rootmenu->removeAll(); if (geom_pixmap != None) imageControl().removeImage(geom_pixmap);