aboutsummaryrefslogtreecommitdiff
path: root/src/Tab.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-01-09 18:32:09 (GMT)
committerfluxgen <fluxgen>2003-01-09 18:32:09 (GMT)
commite48b3e0cfdbf9b73e4179c51beff857339254920 (patch)
tree54b657ebdb750e3ce385f1aa7a61fa3cf31560db /src/Tab.cc
parentf123c69829cf754effbb3e3f98979cd59e420d2e (diff)
downloadfluxbox_pavel-e48b3e0cfdbf9b73e4179c51beff857339254920.zip
fluxbox_pavel-e48b3e0cfdbf9b73e4179c51beff857339254920.tar.bz2
removed rootmenu
Diffstat (limited to 'src/Tab.cc')
-rw-r--r--src/Tab.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Tab.cc b/src/Tab.cc
index b72942c..47faeae 100644
--- a/src/Tab.cc
+++ b/src/Tab.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: Tab.cc,v 1.49 2003/01/05 22:38:53 fluxgen Exp $ 22// $Id: Tab.cc,v 1.50 2003/01/09 18:32:09 fluxgen Exp $
23 23
24#include "Tab.hh" 24#include "Tab.hh"
25 25
@@ -27,7 +27,6 @@
27#include "DrawUtil.hh" 27#include "DrawUtil.hh"
28#include "Screen.hh" 28#include "Screen.hh"
29#include "fluxbox.hh" 29#include "fluxbox.hh"
30#include "Rootmenu.hh"
31#include "ImageControl.hh" 30#include "ImageControl.hh"
32 31
33#include <iostream> 32#include <iostream>
@@ -656,7 +655,7 @@ void Tab::buttonPressEvent(XButtonEvent *be) {
656 draw(true); 655 draw(true);
657 656
658 //invoke root menu with auto-tab? 657 //invoke root menu with auto-tab?
659 if (be->button == 3) { 658 /* if (be->button == 3) {
660 BScreen *screen = m_win->getScreen(); 659 BScreen *screen = m_win->getScreen();
661 Rootmenu *rootmenu = screen->getRootmenu(); 660 Rootmenu *rootmenu = screen->getRootmenu();
662 if (! rootmenu->isVisible()) { 661 if (! rootmenu->isVisible()) {
@@ -666,6 +665,7 @@ void Tab::buttonPressEvent(XButtonEvent *be) {
666 rootmenu->show(); 665 rootmenu->show();
667 } 666 }
668 } 667 }
668
669 //otherwise let the window handle the event 669 //otherwise let the window handle the event
670 else { 670 else {
671 //set window to titlewindow so we can take advantage of drag function 671 //set window to titlewindow so we can take advantage of drag function
@@ -674,6 +674,7 @@ void Tab::buttonPressEvent(XButtonEvent *be) {
674 //call windows buttonpress eventhandler 674 //call windows buttonpress eventhandler
675 m_win->buttonPressEvent(*be); 675 m_win->buttonPressEvent(*be);
676 } 676 }
677 */
677} 678}
678 679
679/** 680/**