From: Dana Jansens Date: Thu, 23 May 2002 15:00:15 +0000 (+0000) Subject: fix compliling with --disable-slit X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=d03852ad25b4d43e1420d9aced516507fa572800;p=chaz%2Fopenbox fix compliling with --disable-slit --- diff --git a/CHANGELOG b/CHANGELOG index 4581419d..27089ebb 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,8 @@ Changelog for Openbox: 2.0.0: + * fix compliling with --disable-slit. (Ben Jansens) + * fixed sticky windows behavior. (Ben Jansens) * make reconfigure reset the timeout values for diff --git a/src/Screen.cc b/src/Screen.cc index 08b76971..2225e2ce 100644 --- a/src/Screen.cc +++ b/src/Screen.cc @@ -653,7 +653,7 @@ Rect BScreen::availableArea() const { space.setH(space.h() - tbarh); } #else // !SLIT - int tbarh = resource.hide_toolbar() ? 0 : + int tbarh = resource.hide_toolbar ? 0 : toolbar->getExposedHeight() + resource.border_width * 2; switch (toolbar->placement()) { case Toolbar::TopLeft: