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: