diff options
Diffstat (limited to 'src/Tab.cc')
-rw-r--r-- | src/Tab.cc | 17 |
1 files changed, 1 insertions, 16 deletions
@@ -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 | ||