all repos — fluxbox @ 85d8ac754974aae0a513b585e4f1810007cb157c

custom fork of the fluxbox windowmanager

more useless code
Mark Tiefenbruck mark@fluxbox.org
commit

85d8ac754974aae0a513b585e4f1810007cb157c

parent

a9fd0f5b26860c2227ac6169039332a00e65cc01

3 files changed, 0 insertions(+), 12 deletions(-)

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

@@ -281,10 +281,6 @@

parseMenu(parse, *submenu, labelconvertor); submenu->updateMenu(); menu.insert(str_label, submenu); - // save to screen list so we can delete it later - BScreen *screen = Fluxbox::instance()->findScreen(screen_number); - if (screen != 0) - screen->saveMenu(*submenu); } // end of submenu else if (str_key == "stylesdir" || str_key == "stylesmenu") {
M src/Screen.ccsrc/Screen.cc

@@ -1498,12 +1498,8 @@

void BScreen::initMenu() { if (m_rootmenu.get()) { - // since all menus in root is submenus in m_rootmenu - // just remove every item in m_rootmenu and then clear m_rootmenu_list while (m_rootmenu->numberOfItems()) m_rootmenu->remove(0); - m_rootmenu_list.clear(); - } else m_rootmenu.reset(createMenu(""));
M src/Screen.hhsrc/Screen.hh

@@ -276,8 +276,6 @@ void saveTabPlacement(FbWinFrame::TabPlacement place) { *resource.tab_placement = place; }

void saveWorkspaces(int w) { *resource.workspaces = w; } - void saveMenu(FbTk::Menu &menu) { m_rootmenu_list.push_back(&menu); } - FbTk::ThemeProxy<FbWinFrameTheme> &focusedWinFrameTheme() { return *m_focused_windowtheme.get(); } const FbTk::ThemeProxy<FbWinFrameTheme> &focusedWinFrameTheme() const { return *m_focused_windowtheme.get(); } FbTk::ThemeProxy<FbWinFrameTheme> &unfocusedWinFrameTheme() { return *m_unfocused_windowtheme.get(); }

@@ -521,11 +519,9 @@ std::auto_ptr<FbTk::Menu> m_configmenu, m_rootmenu, m_workspacemenu, m_windowmenu;

ExtraMenus m_extramenus; - typedef std::list<FbTk::Menu *> Rootmenus; typedef std::list<std::pair<FbTk::FbString, FbTk::Menu *> > Configmenus; - Rootmenus m_rootmenu_list; Configmenus m_configmenu_list; Icons m_icon_list;