aboutsummaryrefslogtreecommitdiff
path: root/src/Tab.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-01-12 18:31:33 (GMT)
committerfluxgen <fluxgen>2003-01-12 18:31:33 (GMT)
commit54c446cbcfd8ad4c62df407d8923fd3b52353440 (patch)
tree8123d86ceec5ff5808b7fcd6dc6c05226b870483 /src/Tab.cc
parentc3a3ecebb6ad37e533a02e661777be3be7fb3585 (diff)
downloadfluxbox-54c446cbcfd8ad4c62df407d8923fd3b52353440.zip
fluxbox-54c446cbcfd8ad4c62df407d8923fd3b52353440.tar.bz2
removed toolbar
Diffstat (limited to 'src/Tab.cc')
-rw-r--r--src/Tab.cc17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/Tab.cc b/src/Tab.cc
index 69d63d8..9d69a4d 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.51 2003/01/09 22:08:27 fluxgen Exp $ 22// $Id: Tab.cc,v 1.52 2003/01/12 18:31:33 fluxgen Exp $
23 23
24#include "Tab.hh" 24#include "Tab.hh"
25 25
@@ -843,21 +843,6 @@ void Tab::motionNotifyEvent(XMotionEvent *me) {
843 843
844 int dtty, dbby, dty, dby; 844 int dtty, dbby, dty, dby;
845 845
846 switch (m_win->getScreen()->getToolbarPlacement()) {
847 case Toolbar::TOPLEFT:
848 case Toolbar::TOPCENTER:
849 case Toolbar::TOPRIGHT:
850 dtty = m_win->getScreen()->getToolbar()->exposedHeight() +
851 m_win->getScreen()->getBorderWidth();
852 dbby = m_win->getScreen()->getHeight();
853 break;
854
855 default:
856 dtty = 0;
857 dbby = m_win->getScreen()->getToolbar()->y();
858 break;
859 }
860
861 dty = dy - dtty; 846 dty = dy - dtty;
862 dby = dbby - (dy + 1); 847 dby = dbby - (dy + 1);
863 848