*** Toolbar.cc.orig	Fri Sep 27 19:42:26 2002
--- Toolbar.cc	Fri Sep 27 19:40:52 2002
***************
*** 754,760 ****
      }
    } else if (be->button == 2 && (! on_top)) {
      XLowerWindow(display, frame.window);
!   } else if (be->button == 3) {
      if (toolbarmenu->isVisible()) {
        toolbarmenu->hide();
      } else {
--- 754,790 ----
      }
    } else if (be->button == 2 && (! on_top)) {
      XLowerWindow(display, frame.window);
! 
!     Rootmenu *rootmenu = screen->getRootmenu();
! 
!     if (rootmenu->isVisible()) {
!         rootmenu->hide();
!     }
!     else {
!       int x, y;
! 
!       x = be->x_root - (rootmenu->getWidth() / 2);
!       y = be->y_root - (rootmenu->getHeight() / 2);
! 
!       if (x < 0) x = 0;
!       if (y < 0) y = 0;
! 
!       if (x + rootmenu->getWidth() > screen->getWidth()) {
!         x = screen->getWidth() - rootmenu->getWidth() - screen->getBorderWidth();
!       }
! 
!       if (y + rootmenu->getHeight() > screen->getHeight()) {
!         y = screen->getHeight() - rootmenu->getHeight() - screen->getBorderWidth();
!       }
! 
!       rootmenu->move(x, y);
! 
!       blackbox->checkMenu();
!       rootmenu->show();
!     }
! 
!   }
!   else if (be->button == 3) {
      if (toolbarmenu->isVisible()) {
        toolbarmenu->hide();
      } else {
