From: Dana Jansens Date: Thu, 25 Jul 2002 22:35:55 +0000 (+0000) Subject: don't worry abou overlapping the toolbar if there is none. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=6253730ef0fed7815802d5b92dc78a86b3458daa;p=chaz%2Fopenbox don't worry abou overlapping the toolbar if there is none. --- 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())