aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.cc
diff options
context:
space:
mode:
authormarkt <markt>2007-12-11 19:29:00 (GMT)
committermarkt <markt>2007-12-11 19:29:00 (GMT)
commit474e2017454d3c6492eb9f428aee039d36d76e05 (patch)
treecae44371e3dc31d1cb3aafdd2fbf83a26527e540 /src/fluxbox.cc
parent38877987c43857f79481bedeb036380b32019a0f (diff)
downloadfluxbox_pavel-474e2017454d3c6492eb9f428aee039d36d76e05.zip
fluxbox_pavel-474e2017454d3c6492eb9f428aee039d36d76e05.tar.bz2
only allow one open menu at a time
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r--src/fluxbox.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index 7cf165e..d22f496 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -1581,19 +1581,6 @@ bool Fluxbox::menuTimestampsChanged() const {
1581 return false; 1581 return false;
1582} 1582}
1583 1583
1584void Fluxbox::hideExtraMenus(BScreen &screen) {
1585
1586#ifdef USE_TOOLBAR
1587 // hide toolbar that matches screen
1588 for (size_t toolbar = 0; toolbar < m_toolbars.size(); ++toolbar) {
1589 if (&(m_toolbars[toolbar]->screen()) == &screen)
1590 m_toolbars[toolbar]->menu().hide();
1591 }
1592
1593#endif // USE_TOOLBAR
1594
1595}
1596
1597void Fluxbox::rereadMenu(bool show_after_reread) { 1584void Fluxbox::rereadMenu(bool show_after_reread) {
1598 m_reread_menu_wait = true; 1585 m_reread_menu_wait = true;
1599 m_show_menu_after_reread = show_after_reread; 1586 m_show_menu_after_reread = show_after_reread;