From d03852ad25b4d43e1420d9aced516507fa572800 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 23 May 2002 15:00:15 +0000 Subject: [PATCH] fix compliling with --disable-slit --- CHANGELOG | 2 ++ src/Screen.cc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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: -- 2.39.2