]> Dogcows Code - chaz/openbox/commitdiff
don't worry abou overlapping the toolbar if there is none.
authorDana Jansens <danakj@orodu.net>
Thu, 25 Jul 2002 22:35:55 +0000 (22:35 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 25 Jul 2002 22:35:55 +0000 (22:35 +0000)
src/Slit.cc

index 35a2dbf994831d0a1adc5615be136931fbea2db0..5a6c322168823227c2e3937c97ddaf4864b9448e 100644 (file)
@@ -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())
This page took 0.024193 seconds and 4 git commands to generate.