From 6253730ef0fed7815802d5b92dc78a86b3458daa Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 25 Jul 2002 22:35:55 +0000 Subject: [PATCH] don't worry abou overlapping the toolbar if there is none. --- src/Slit.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Slit.cc b/src/Slit.cc index 35a2dbf9..5a6c3221 100644 --- a/src/Slit.cc +++ b/src/Slit.cc @@ -551,7 +551,7 @@ void Slit::reposition(void) { slit_rect.setSize(slit_rect.width() + (screen->getBorderWidth() * 2), slit_rect.height() + (screen->getBorderWidth() * 2)); - if (slit_rect.intersects(tbar_rect)) { + if (! screen->doHideToolbar() && slit_rect.intersects(tbar_rect)) { int delta = screen->getToolbar()->getExposedHeight() + screen->getBorderWidth(); if (frame.rect.bottom() <= tbar_rect.bottom()) -- 2.45.2