summaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 7682075..79a75ef 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -909,43 +909,6 @@ void BScreen::addExtraWindowMenu(const FbTk::FbString &label, FbTk::Menu *menu)
909 m_windowmenu->setInternalMenu(); 909 m_windowmenu->setInternalMenu();
910} 910}
911 911
912void BScreen::hideMenus() {
913 // hide extra menus
914 Fluxbox::instance()->hideExtraMenus(*this);
915
916#ifdef SLIT
917 // hide slit menu
918 if (slit())
919 slit()->menu().hide();
920#endif // SLIT
921
922 // hide icon menus
923 if (!iconList().empty()) {
924 Icons::iterator it = iconList().begin();
925 const Icons::iterator it_end = iconList().end();
926 for (; it != it_end; ++it)
927 (*it)->menu().hide();
928 }
929 // hide all client menus
930 hideWindowMenus();
931
932}
933
934void BScreen::hideWindowMenus(const FluxboxWindow* except) {
935 Workspaces::iterator w_it = getWorkspacesList().begin();
936 const Workspaces::iterator w_it_end = getWorkspacesList().end();
937 for (; w_it != w_it_end; ++w_it) {
938 if (!(*w_it)->windowList().empty()) {
939 Workspace::Windows::iterator win_it = (*w_it)->windowList().begin();
940 const Workspace::Windows::iterator win_it_end = (*w_it)->windowList().end();
941 for (; win_it != win_it_end; ++win_it) {
942 if (*win_it != except)
943 (*win_it)->menu().hide();
944 }
945 }
946 }
947}
948
949void BScreen::reconfigure() { 912void BScreen::reconfigure() {
950 Fluxbox *fluxbox = Fluxbox::instance(); 913 Fluxbox *fluxbox = Fluxbox::instance();
951 914