summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fluxbox.cc10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index e63a121..6d560e6 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.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: fluxbox.cc,v 1.202 2003/12/03 00:30:22 fluxgen Exp $ 25// $Id: fluxbox.cc,v 1.203 2003/12/03 00:49:20 fluxgen Exp $
26 26
27#include "fluxbox.hh" 27#include "fluxbox.hh"
28 28
@@ -983,6 +983,14 @@ void Fluxbox::handleButtonEvent(XButtonEvent &be) {
983 screen->slit()->menu().hide(); 983 screen->slit()->menu().hide();
984#endif // SLIT 984#endif // SLIT
985 985
986#ifdef USE_TOOLBAR
987 // hide toolbar that matches screen
988 for (int toolbar = 0; toolbar < m_toolbars.size(); ++toolbar) {
989 if (&(m_toolbars[toolbar]->screen()) == screen)
990 m_toolbars[toolbar]->menu().hide();
991 }
992#endif // USE_TOOLBAR
993
986 if (be.button == 1) { 994 if (be.button == 1) {
987 if (! screen->isRootColormapInstalled()) 995 if (! screen->isRootColormapInstalled())
988 screen->imageControl().installRootColormap(); 996 screen->imageControl().installRootColormap();